Use presentation styles to centralize the decoration of your user interface.
Defining a style
Styles can be defined to be global (for all elements), for an element in general, or for specific types of an element.
Pseudo selectors
Pseudo selectors can be used to apply only when some conditions are fulfilled.
Using a style
To apply a specific style, set the style-name in the style attribute of the node representing the graphical element in the abstract user interface tree.
Order of precedence
Style definitions are applied according to the order of precedence.
Combining styles
You can combine several styles, by using the space character as a separator in the STYLE attribute.
Style attribute inheritance
A style attribute may be inherited by the descendants of a given node in the abstract user interface tree.
Presentation styles in the AUI tree
Presentation styles are loaded in the abstract user interface tree, under the UserInterface node, in a StyleList node following the presentation style syntax.
Loading presentation styles
Presentation styles are defined in an XML file with a 4st extension. In order to load the presentation styles, the engine needs to locate the appropriate style file.
Combining TTY and style attributes
TTY attributes can be specific to a form element or can be inherited by an element from a parent node (such as the form or window).
Element types
Styles may apply to any graphical elements of the user interface, such as Button, Edit, ComboBox, ButtonEdit, Table, Window.