Object Element

Revision as of 21:41, 21 May 2009 by imported>JRoush


Image

Defines a rectangular region with an associated texture. Every visible aspect of the menus and HUD, except for text, is an image element.

Value Elements

Rect

Defines a rectangular region (similar to an Image element), but without any visible effects. Even so, a Rect element may have a Visible element as a child, which, if it evaluates to false, will override the Visible properties of all of the Rect's other children.

Value Elements

Text

Self explanatory. Note, however, that the width and height property elements have no effect on the size of the text - this is determined solely by the font property.

Value Elements

Menu

Menu elements (here referring to elements of the form <menu></menu> rather than in the sense of the page title) are a bit special. They appear to be used exclusively as the root element of the menu document - no additional menu elements are parsed, no matter where they appear in the file.

Value Elements