Difference between revisions of "ISUI:button (Element Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
+
#Redirect [[LavishGUI:button (Element Type)]]
 
 
== [[ISUI:Base Element|Base Element]] ==
 
* none
 
 
 
== XML Attributes ==
 
{| border="1" cellpadding="2"
 
!width="15%"|Tag
 
!width="75%"|Description
 
!width="10%" style="align:center"|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''
 
|-
 
|}
 
<br>
 
----
 
 
 
== 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>
 
 
 
[[Category:Inner Space]]
 
[[Category:ISUI]]
 

Latest revision as of 19:39, 23 September 2005