XML/StatusBar

From Warcraft Wiki
< XML
Jump to navigation Jump to search

<StatusBar> creates a bar that fills from minValue to maxValue. Commonly used for all manner of health, power, experience, reputation and resource bars.

<StatusBar drawLayer="" minValue="" maxValue="" defaultValue="" orientation="" rotatesTexture="" reverseFill="">
	<BarTexture />
	<BarColor />
</StatusBar>

Attributes

drawLayer (ui:DRAWLAYER) - See <Texture>.
minValue (xs:float) - Value when the bar is empty (e.g. 0 for a health bar).
maxValue (xs:float) - Value when the bar is full (e.g. UnitHealthMax).
defaultValue (xs:float) - In the range of [minValue, maxValue].
orientation (ui:ORIENTATION) - "HORIZONTAL" (default), "VERTICAL"
rotatesTexture (boolean?Optional. Could be nil.)
reverseFill (boolean?Optional. Could be nil.)

Child elements

<BarTexture> inherits from <Texture>.

<BarColor> inherits from <Color>.

Patch changes


References

 
  1. ^ 2009-04-14, UI.xsd, version 3.1.0.9767, near line 501, archived at Townlong-Yak
  2. ^ Blizzard Entertainment slouken 2006-10-02. Re: Upcoming 1.10 Changes - Concise List. Archived from the original