Color Textures
Hello,
What I would basicly like to do is take the default blizzard frames with the greyish color and be able to change the color. Would i have to recreate all the textures or can i just do a overlay? Would a simple MainMenuBar:SetColor(0,0,0) work? I came across this when i used the Blizzard dialog border on one of my Panels and did Datatpanel:SetBackdropBorderColor(0,0,0) it made the Dialog border black which made me thing it would be kinda cool to beable to set all the "Grey" borders to what ever color a user wanted, maybe class color, maybe bright yellow who know's. So if anyone could help me out that would be great. Thanks Coke |
You don't need to modify the textures or create any additional frames/textures/etc. There are already API methods built into frames and textures for changing their colors
For frames whose visible textures are set as part of their backdrop, you can use: Code:
frameObject:SetBackdropColor(r, g, b, a) Code:
textureObject:SetVertexColor(r, g, b, a) |
You might want to try going a step simpler and using Facepaint.
Phanx -the all knowing - yes that should be above the new-ish avatar :) - method will work if you want to code it out yourself. I speak from personal experience here, its alot of fun to trial and error your UI so I would totally suggest doing that. |
Quote:
|
Glad it will work for you!
|
All times are GMT -6. The time now is 11:46 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI