Difference between revisions of "ISUI:button (Element Type)"
Jump to navigation
Jump to search
Line 55: | Line 55: | ||
<Right>128</Right> | <Right>128</Right> | ||
<Bottom>64</Bottom> | <Bottom>64</Bottom> | ||
− | </ | + | </TexturePressed> |
[[Category:Inner Space]] | [[Category:Inner Space]] | ||
[[Category:ISUI]] | [[Category:ISUI]] |
Revision as of 18:18, 30 May 2005
Overview
Base Element
- none
XML Attributes
Tag | Description | Default |
---|---|---|
BackgroundColor | Background color | UI Manager Setting |
Border | Size of border around the element. This border is included in the size of the element | 1 |
BorderColor | Border color | UI Manager Setting |
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 button is in its normal, unpressed state | none |
TexturePressed | Texture displayed while the button is being pressed | none |
TextureHover | Texture displayed while the mouse is over the unpressed button | 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="Button.png"> <Border>5</Border> <Right>64</Right> <Bottom>64</Bottom> </Texture> <TexturePressed Filename="Button.png"> <Border>5</Border> <Left>64</Left> <Right>128</Right> <Bottom>64</Bottom> </TexturePressed>