Thread: Inverted health
View Single Post
12-09-14, 09:49 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
If you want anything other than the coloring oUF provides, you have to do it yourself in a PostUpdate or Override function. Based on your description:

I would like to have self.Health have a set color (yes, dark as everyone else :P) and have self.Health.bg have the .colorHealth, .colorSmooth (etc).
The simplest way to achieve that would be to let oUF do its thing, and then just re-color the health bar (but not its background) yourself in your PostUpdate function.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote