The API is no longer being updated here until further notice. |
<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? )
- reverseFill (boolean? )
Child elements[]
<BarTexture> inherits from <Texture>.
<BarColor> inherits from <Color>.
Patch changes[]
- Patch 5.2.0 (2013-03-05): Added reverseFill attribute.[Unknown date between 4.0 and 5.2]
- Patch 3.1.0 (2009-04-14): Added rotatesTexture attribute.[1]
- Patch 1.10.0 (2006-03-28): Added orientation attribute.[2]
References[]
- ^ 2009-04-14, UI.xsd, version 3.1.0.9767, near line 501, archived at Townlong-Yak
- ^ slouken 2006-10-02. Re: Upcoming 1.10 Changes - Concise List. Archived from the original