Hello.
In the documentation (ch. 19.1.4) is described:
Default configuration
All widgets also have one or more configuration macros which define various default
settings such as fonts and colors used. The available configuration options are listed
for each widget in their respective sections later in the chapter.
And for each widget there is a table named "Configuration options", where are described default values for various macro.
For example (19.7.1):
Question:
How to change for one or more of these macro their default values, for example - how to change predefined key "GUI_KEY_ENTER" for "DROPDOWN_KEY_SELECT"?
And what does it mean the column "Type" (letters "S" or "N")?
Best regards,
Volodymyr.
In the documentation (ch. 19.1.4) is described:
Default configuration
All widgets also have one or more configuration macros which define various default
settings such as fonts and colors used. The available configuration options are listed
for each widget in their respective sections later in the chapter.
And for each widget there is a table named "Configuration options", where are described default values for various macro.
For example (19.7.1):
Type | Macro | Default | Description |
N | DROPDOWN_ALIGN_DEFAULT | GUI_TA_LEFT | Text alignment used to display the dropdown text in closed state. |
S | DROPDOWN_FONT_DEFAULT | &GUI_Font13_1 | Default font |
N | DROPDOWN_BKCOLOR0_DEFAULT | GUI_WHITE | Background color, unselected state. |
N | DROPDOWN_BKCOLOR1_DEFAULT | GUI_GRAY | Background color, selected state without focus. |
N | DROPDOWN_BKCOLOR2_DEFAULT | GUI_BLUE | Background color, selected state with focus. |
N | DROPDOWN_KEY_EXPAND | GUI_KEY_SPACE | Key which can be used to expand the DROPDOWN list. |
N | DROPDOWN_KEY_SELECT | GUI_KEY_ENTER | Key which can be used to select an item from the open dropdown list. |
N | DROPDOWN_TEXTCOLOR0_DEFAULT | GUI_BLACK | Text color, unselected state. |
N | DROPDOWN_TEXTCOLOR1_DEFAULT | GUI_BLACK | Text color, selected state without focus. |
N | DROPDOWN_TEXTCOLOR2_DEFAULT | GUI_WHITE | Enable 3D support. |
Question:
How to change for one or more of these macro their default values, for example - how to change predefined key "GUI_KEY_ENTER" for "DROPDOWN_KEY_SELECT"?
And what does it mean the column "Type" (letters "S" or "N")?
Best regards,
Volodymyr.
Best regards,
Volodymyr.
Volodymyr.
The post was edited 1 time, last by volodymyr ().