Difference between revisions of "ISUI"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
----
 
----
 
==== Overview ====
 
==== 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 ====
 
==== XML Attributes ====

Revision as of 17:02, 26 May 2005

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 screen coordinate for 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
Y Topmost screen coordinate for 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
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



Built-in UI Element Types

Creating Element Types

See Also