Frame background color

how? looked through dozens of pages, but! x.x

i mean, i don’t want to use textures but just, draw, a simple rectangle (resource bar, to be) and color it depending on its current value. However, the only function i found is SetBackdropColor which requires a pre-defined model…

is there a way to avoid it?

 
also, acc to the api the backdrop functions are not added by default now… is it possible to paint over blizzard’s frames like the portrait ofc?

What’s wrong with using a texture?

well, thing is i like keeping my “addons” in macroes and as far i had seen, SetTexture took a loooot of symbols to declare a pic - for which, turns out a mere name is enough

but, a few min after creating the post ^ i realised frames just dont have a texture by default, so probably a local t=f:CreateTexture()t:SetAllPoints() (~32 symbols) followed by a set color would do the trick… and it did :d

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.