Thread Tools Display Modes
08-27-13, 05:36 AM   #1
Taraezor
A Fallenroot Satyr
 
Taraezor's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2012
Posts: 21
Sweeping Cooldown Icon Overlay

I know how to display a cool down overlay on an icon. Also a countdown of seconds too. The "animation" if I can call it that, is provided by Blizzard and it looks like the second hand of a clock, moving clockwise around the icon.

What I want to do is get this to go ANTI-clockwise and for the "second hand" to be a different colour.

Can someone help please.
  Reply With Quote
08-27-13, 06:59 AM   #2
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
I don't think you can unless you create your own animation for it.
  Reply With Quote
08-27-13, 04:37 PM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Resike is correct. You can change whether the cooldown animation fills or empties via cooldown:SetReverse(true|false), but there is no API for changing which direction it goes (eg. fills clockwise, or fills counter-clockwise) or for changing its color.

If you want to see a custom cooldown model implementation, check OPie.
__________________
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
08-28-13, 05:06 AM   #4
Taraezor
A Fallenroot Satyr
 
Taraezor's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2012
Posts: 21
Thanks for the replies. Confirms my suspicions.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Sweeping Cooldown Icon Overlay

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off