Difference between revisions of "ISUI"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
|- | |- | ||
| '''X''' | | '''X''' | ||
− | | Leftmost | + | | Leftmost coordinate for this element, relative to its parent element. This setting can be a percentage (of its parent's width), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. || 0 |
|- | |- | ||
| '''Y''' | | '''Y''' | ||
− | | Topmost | + | | Topmost coordinate for this element, relative to its parent element. This setting can be a percentage (of its parent's height), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. || 0 |
|- | |- | ||
| '''Width''' | | '''Width''' | ||
Line 42: | Line 42: | ||
* [[ISUI:textentry (Element Type)|textentry]] | * [[ISUI:textentry (Element Type)|textentry]] | ||
* [[ISUI:window (Element Type)|window]] | * [[ISUI:window (Element Type)|window]] | ||
+ | |||
+ | === Sample Interface Files === | ||
== Creating Element Types == | == Creating Element Types == |
Revision as of 17:08, 26 May 2005
Contents
Overview
Custom Interfaces in XML
UI Element Base Type
Overview
All UI elements derive from a base type at the lowest level. What this means is all elements have the attributes defined below, in addition to any they add themselves. They may change the default values of any of the below attributes, but will not generally do so.
XML Attributes
Tag | Description | Default |
---|---|---|
X | Leftmost coordinate for this element, relative to its parent element. This setting can be a percentage (of its parent's width), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. | 0 |
Y | Topmost coordinate for this element, relative to its parent element. This setting can be a percentage (of its parent's height), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. | 0 |
Width | Total width of this element. This setting can be a percentage (of its parent's width), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. | 0 |
Height | Total height of this element. This setting can be a percentage (of its parent's height), indicated with %. A percentage will cause the element to recalculate its position when its parent is resized. | 0 |
Visible | 1 if the element should be visible, 0 if not | 1 |