i figure this topic fits here the best, as it affects all unit frames, grid, aguf, and others.
i got some, custom made surfaces. some better than others.
anytime there is an update to this addon library, the ones i got are overwritten, so id have to replace the backups.
could i instead perhaps list em here, and someone could take a peek at them and incorporate them into the "official" surfaces addon.
imo.. it'd probably be better if the lua could "read" the stuff in the surfaces directory, rather than depend on the fixed values. (anyone still following this?)
perhaps we could get a "custom" surface texture setting, where you could enter a custom name for a surface you created (its so damn easy), so that you can enter any name you want, without having to dig trough the lua files, or replace backups of other textures.
btw. is there a specific reason that some of the textures are 32 or 64 kb,,, if they only need to be 2 kb?
I did not mean that you would create a full featured addon that you would put in the SVN or anything. Instead of having to modify "Surfaces" to add your own textures, simply create a "MyTextures" addon for your installation, add the call to Surface:Register() in here and you're done. No more issues with "Surfaces" being modified every now and then. I think there is even a "LoadWith" TOC tag that you can use to make sure your addon is loaded when Surfaces is.
I got a question for surfaces.. If I find a good one like in the surfaces folder, is there a way to have some of my other mods, like my casting bar, KTM, or even Damage Meters use that texture?
If that AddOn's code supports it. I know Damage Meters and KTM do not. With other AddOn that support custom texture, sometimes you merely have to copy and paste the texture you want into that AddOn's Images folder sometimes replacing a preexisting one. Some others may require some tweaking.
i've also been wondering if i need surfaces any more. i know sharedmedia has less textures, but it has the ones i want. does an addon have to have sharedmedialib in it's toc to use the sharedmedia textures? i'm still keeping surfaces around because i use some older addons that i'm not sure will work with sharedmedia.
SharedMediaLib and SurfaceLib don't contain any textures, so their memory usage is minimal. If you mean SharedMedia and Surfaces, the texture collections, you don't need to run both. Just run Surfaces. SharedMediaLib automatically picks up any textures that are registered to SurfaceLib. Of course, once everyone transitions to using SharedMediaLib, and you no longer have anything using SurfaceLib, you'll have to switch to SharedMedia instead of Surfaces, but until then you don't need SharedMedia for textures.