Interface Tables

Control Name Specification

Naming convention for referring to a control from within another control.
NotationRefers to
<siblingsibling of current control named "sibling".
<sibling.childchild of sibling of current control named "sibling".
|windowcontrol at root level named "window".

Var Name Specification

Naming convention for referring to a var from within a control.
NotationRefers to
$variable "var1" inside of sibling of current control named "sibling".
debug.var2variable named "debug.var2".

Texture Specification

Image(string filename)
filename Required, x Optional (0), y Optional (0), width Optional (width), height Optional (height)
filename: Name of texture image.
Uses the entire texture.
Image(string filename, integer x, integer y, integer width, integer height)
filename Required, x Required, y Requried, width Required, height Required
filename: Name of texture image.
x, y: Pixel offset of sub image.
width, height: Size of sub image.
Use a portion of the texture.
Mode(string mode)
Optional, mode("Stretch")
mode: Texture mode.
Can be one of "Tile", "Centre", or "Stretch"

Color Specification

Can take one of 2 formats.
function(integer red, integer green, integer blue, integer alpha)
red Required, green Required, blue Required, alpha Optional (255)
red, green, blue, alpha: Component, between 0 and 255.
function(string colorname)
colorname Required
colorname: One of
color names.

Color Names

Color NameApplies to
StdBgDefault background
StdFgDefault foreground
ClientBgEdit/Listbox background
ClientFgEdit/Listbox foreground
HilitedBgMouse over background
HilitedFgMouse over foreground
SelectedBgSelected list item background
SelectedFgSelected list item foreground
DisabledBgDisabled background
DisabledFgDisabled foreground
TitleBg1Modal Title bar upper gradient
TitleBg2Modal Title bar lower gradient
TitleFgModal Title bar foreground
TitleHiFgModal Title bar mouse over foreground
TitleLoBg1Inactive Title bar upper gradient
TitleLoBg2Inactive Title bar lower gradient
TitleLoFgInactive Title bar text

System Color Groups

Group NameApplies to
Sys::DefaultAll controls
Sys::ClientClient controls e.g. Edit/Listbox
Sys::TitleBarWindow title
Sys::ListItemListbox Item

Metric Names

Metric NameTypeDescriptionUnits
SliderWidthintegerSlider widthpixels
ButtonWidthintegerButton widthpixels
ButtonHeightintegerButton heightpixels
TitleHeightintegerTitle bar heightpixels
ThinTitleHeightintegerThin Title bar heightpixels
DropShadowUpintegerDrop shadow width when button is uppixels
DropShadowDownintegerDrop shadow width when button is downpixels
ShadowAlphaintegerShadow alpha level-
BorderThinintegerThin Border widthpixels
BorderThickintegerThick Border widthpixels
VGradientintegerVertical gradient speed-
HGradientintegerHorizontal gradient speed-
TitleFontstringName of title bar font-
ThinTitleFontstringName of thin title bar font-
PollDelayintegerPoll interval of system buttonsmilliseconds
TipDelayintegerTool dip delaymilliseconds

Sound Names

Sound NameExample of Usage
MenuCommandWhen a button is pressed
MenuPopupWhen a button is moused over