Sfairadora

  • Reference Guide

Display Styles

Display Styles are used to format texts in controls on the screen. Their modification immediately affects the appearance of the respective type of control in the entire document. The names of all display styles begin with “Display – ”. This prefix is omitted in the following table for conciseness. Displays styles are identified by a descriptive name; however, this name does not correspond to their internal name, which must be used for manipulation with the styles in the Enki language. The following table therefore contains also the internal names of the styles.
Style Name
(
internal name)
Description
active text
(display_active_text)
Color of text in the line editor and text editor when the editor is active, but the text is not being edited (the cursor is not inside). The style should modify only the color of the text while all other attributes should be left undefined. The color should contrast with the color of the selected item used for the background of the active editor. Undefined attributes are inherited from the editor style.
button
(display_button_text)
Format of the text on buttons and everywhere where text can be activated and has a function when clicked on by the mouse. This includes, in particular, buttons, check boxes, and radio buttons if there is text on the actual button, and disp‑folder titles if they can be activated.
edited text
(display_edited_text)
Color of the text in the line editor if it is being edited (the text cursor is inside). The style should modify only the color of the text while all other attributes should be left undefined. Undefined attributes are inherited from the editor style.
editor
(display_edit_text)
Format used to display the contents of the line editor if it is not being edited (the text cursor is not inside).
error text
(display_error_text)
Format of error messages. The style is applied to texts in the status line reporting an error in entered data and to texts in presentations if a dispel cannot be created due to a serious error in its definition.
function editor
(display_program_text)
Format used to display the contents of the text editor. Since the text editor is used mainly to specify functions, the selected font should be monospaced (all characters have the same width such as Courier) so that the text can be vertically aligned.
heading 1
(display_heading_1)
Style used for the label and disp‑folder dispel if the “heading 1” style is assigned to their title. The heading 1 style should be the largest one, and the subsequent styles should gradually dwindle.
heading 2
(display_heading_2)
Like heading 1.
heading 3
(display_heading_3)
Like heading 1.
heading 4
(display_heading_4)
Like heading 1.
heading 5
(display_heading_5)
Like heading 1.
hot-key
(display_hot_key_text)
The style is used for characters in menus and elsewhere identifying a keyboard shortcut for an item. The standard setting is underline.
labels
(display_label_text)
Used for all texts that cannot be edited or activated – that is, for texts in labels, check boxes, radio buttons, and value selectors if the title is not displayed on the actual button, but next to it, and for disp‑folder titles if they cannot be activated.
marked rows summary
(display_marked_text)
Format of the text in table summary representing the summary of selected rows. The default setting is blue color.
menu window
(display_menu_text)
Format of text items in expanded menu windows. It is used for Sfairadora main menu windows as well as for menu windows for various value selections throughout the document (i.e. for the disp‑folder if its window style is “menu”).
selected text
(display_selected_text)
Color of text that cannot be modified, when the text is activated and displayed on a contrasting background (such as menu items).
selection
(display_edit_text)
Format of text in the line editor if it cannot be edited and one of the supplied options must be selected instead.
status line
(display_status_line_text)
Format of text in the status line. See the tool bar style for details.
tool bar
(display_bar_text)
Format of text items in the tool bar and menu bar. Since the tool bar and the menu bar are not parts of the document window, they are displayed with this style only when the respective document is active. The format used to display the tool bar and the menu bar can therefore change as you switch between documents.
tool tip
(display_tool_tip_text)
Text in the tool tip. Tool tip is displayed for some controls if you hover over them with the mouse pointer for a little while.

Windows Styles

Windows styles are styles whose formatting corresponds to Windows settings. These settings can be changed in Windows in the Control Panel using the Display item on the Appearance tab. Items whose font type can be defined there have their corresponding Windows styles in Sfairadora. These styles cannot be modified in Sfairadora (they reflect the Windows settings), but you can use them as the basis for presentation styles to ensure that Sfairadora presentations are consistent with other Windows applications.
The names of all Windows styles begin with the “Windows – ” prefix, which is omitted in the following table. Internal names are included like in the Display Styles table.
Style Name
(
internal name)
Description
button text
(windows_button_text)
Font used in Windows for button text.
icon text
(windows_icon_text)
Font used in Windows for icon labels.
menu text
(windows_menu_text)
Font used in Windows for menus.
selected text color
(windows_highlight_text)
Style containing only text color derived from the “Selected Items” setting.
status line text
(windows_status_text)
Font used in Windows for the status line text.
tool tip text
(windows_tool_tip_text)
Font used in Windows for the tool tip.
window text
(windows_message_text)
Font used in Windows for window contents.