Presentation styles / Using presentation styles |
Presentation styles centralize the attributes related to the decoration of the graphical user interface elements.
The decoration attributes are defined in a separate file, which can be easily modified to customize the application.
Presentation styles are only supported for the GUI front-ends. If you design an application for the TUI mode, you can use TTY attributes. Styles are applied implicitly by using global styles, or explicitly by naming a specific style in the style attribute of the element.
Typical presentation attributes define font properties and foreground and background colors. Some presentation attributes will be specific to a given class of widgets (like the first day of week in a DATEEDIT).
Presentation styles are defined in a resource file having an extension of 4st, which must be distributed with other runtime files.