Originally Posted by Fizzlemizz
I have to admit I thought SetStatusBarTexture() was just a method that encapsulated Texture:SetTexture which takes either a string path to and image file or r,g,b colour references.
Apparently not, StatusBar:SetStatusBarTexture appears to take either a string path to the image or a reference to an existing image which is presumably what is happening here.
If you:
Code:
local STATUSBAR = LSM:Fetch("statusbar", "fer33");
STATUSBAR:SetTexCoord(0, 1, 1, 0)
frame:SetStatusBarTexture(STATUSBAR);
you would presumably get the desired outcome... I think
|
Hi Fizzle,
I'vs just tried your method and seems it's not working since STATUSBAR is returning a path to image file not the texture reference