Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-24-14, 12:39 PM   #1
MaLarsson
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 13
Widget API for castbar

I want to create a bar which shows how long the remaining time of a dot is.
I was thinking that you could use the blizzard castbar and pretend that the remaning time is a channeling spell.
What widget should I use for a castbar?
The one that stood out to me was StatusBar but it didn't have a method for setting remaning time like the cooldown widget has with Cooldown:SetCooldown(start, duration).
Is there a better widget to use for the castbar or do I manually need to update the duration of the StatusBar with StatusBar:SetValue(value)?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Widget API for castbar


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