ISUI:checkbox (Element Type)
Jump to navigation
Jump to search
Overview
Base Element
- none
XML Attributes
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. | 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>