ISUI:checkbox (Element Type)

From Lavish Software Wiki
Revision as of 22:14, 8 June 2005 by Lax (talk | contribs)
Jump to navigation Jump to search

Overview

Base Element

  • none

XML Properties

Tag Description Default
FontSize Height of the text to appear in the element 12
Text Text to be displayed on the button
TextColor Text color FFFFFF
Texture Texture displayed when the unchecked control is in its normal, unpressed state none
TexturePressed Texture displayed while the unchecked control is being pressed none
TextureHover Texture displayed while the mouse is over the unpressed, unchecked control none
TextureChecked Texture displayed when the checked control is in its normal, unpressed state none
TextureCheckedPressed Texture displayed while the checked control is being pressed none
TextureCheckedHover Texture displayed while the mouse is over the unpressed, checked control none
DefaultTextures Overrides all Texture attributes, applying the default textures described below (note that without Texture or DefaultTextures, the button will not be textured). Also overrides Border. This tag may have a ColorMask attribute to be applied to the default textures. none



Default Textures

<Texture Filename="CheckBox.png">
  <Right>16</Right>
  <Bottom>16</Bottom>
</Texture>
<TextureHover Filename="CheckBox.png">
  <Left>16</Left>
  <Right>32</Right>
  <Bottom>16</Bottom>
</TextureHover>
<TexturePressed Filename="CheckBox.png">
  <Left>32</Left>
  <Right>48</Right>
  <Bottom>16</Bottom>
</TexturePressed>
<TextureChecked Filename="CheckBox.png">
  <Left>48</Left>
  <Right>64</Right>
  <Bottom>16</Bottom>
</TextureChecked>
<TextureCheckedHover Filename="CheckBox.png">
  <Left>32</Left>
  <Right>48</Right>
  <Bottom>16</Bottom>
</TextureCheckedHover>
<TextureCheckedPressed Filename="CheckBox.png">
  <Left>16</Left>
  <Right>32</Right>
  <Bottom>16</Bottom>
</TextureCheckedPressed>