XML/Cooldown

From Warcraft Wiki
< XML
Jump to navigation Jump to search

<Cooldown> (inherits from <Frame>, creates a Cooldown widget) overlays another frame with a rotating edge, swipe, and bling.

<Cooldown reverse="" hideCountdownNumbers="" drawEdge="" drawBling="" drawSwipe="" rotation="">
	<EdgeTexture />
	<SwipeTexture />
	<BlingTexture />
</Cooldown>

Attributes

reverse (xs:boolean?Optional. Could be nil.) - Reverses the direction.
hideCountdownNumbers (xs:boolean?Optional. Could be nil.) - Hides the seconds remaining.
drawEdge (xs:boolean?Optional. Could be nil.) - Draws the edge.
drawSwipe (xs:boolean?Optional. Could be nil.) - Draws the swipe.
drawBling (xs:boolean?Optional. Could be nil.) - Draws the bling.
rotation (xs:float?Optional. Could be nil.) - Rotates the origin.

Child elements

<EdgeTexture> rotates from the origin; inherits <Texture>.

<SwipeTexture> fills between the origin and edge; inherits <Texture>.

<BlingTexture> animates briefly when the cooldown finishes; inherits <Texture>.