To add to that, oUF doesn't just use CooldownFrameTemplate -- each aura icon is a button object with a texture region (for the icon image), a font string (for the count text), etc. in addition to a cooldown child object (which is what inherits from the CooldownFrameTemplate).
Auras (table) -- oUF element
[1] (object: Frame > Button) -- an individual aura icon
cd (object: Frame > Cooldown) -- the cooldown spiral
icon (object: Region > Texture) -- the (de)buff's icon image
count (object: Region > FontString) -- text showing the number of stacks
overlay (object: Region > Texture) -- a border image colored by dispel type, if enabled
stealable (object: Region > Texture) -- a border image shown if the buff can be stolen
__________________
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.
|