Reply
Thread Tools Display Modes
Unread 08-27-13, 05:36 AM   #1
Taraezor
A Murloc Raider
 
Taraezor's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2012
Posts: 7
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.
__________________
Who wipes? We Don't Wipe - to maximise your DPS!
Have you done the Hard Yards? - for accurate distance estimation!
Try Cool Aid when you need maximum control over your Cooldowns!
Taraezor is offline   Reply With Quote
Unread 08-27-13, 06:59 AM   #2
Resike
A Molten Giant
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 563
I don't think you can unless you create your own animation for it.
Resike is offline   Reply With Quote
Unread 08-27-13, 04:37 PM   #3
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,110
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.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Unread 08-28-13, 05:06 AM   #4
Taraezor
A Murloc Raider
 
Taraezor's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2012
Posts: 7
Thanks for the replies. Confirms my suspicions.
__________________
Who wipes? We Don't Wipe - to maximise your DPS!
Have you done the Hard Yards? - for accurate distance estimation!
Try Cool Aid when you need maximum control over your Cooldowns!
Taraezor is offline   Reply With Quote
Reply

Go BackWoWInterface » 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