|
C-Menu 0.2.9
A User Interface Toolkit
|
Structure representing the style attributes for UI elements. More...
#include <ui_backend.h>
Data Fields | |
| UiColor | bg |
| bool | blink |
| bool | bold |
| bool | dim |
| UiColor | fg |
| bool | invis |
| bool | italic |
| bool | reverse |
| bool | underline |
Structure representing the style attributes for UI elements.
The UiStyle structure encapsulates the styling attributes that can be applied to UI elements. This includes foreground and background colors, as well as text attributes such as bold, italic, underline, and reverse video. The style attributes defined in this structure can be used when drawing text, lines, borders, and other UI components to control their appearance. By configuring the UiStyle appropriately, you can create visually distinct UI elements that enhance the user experience.
Definition at line 158 of file ui_backend.h.
| UiColor UiStyle::bg |
Definition at line 160 of file ui_backend.h.
Referenced by ui_style_from_cch(), ui_style_new(), and ui_style_to_cch().
| bool UiStyle::blink |
Definition at line 165 of file ui_backend.h.
Referenced by ui_ncurses_style_apply(), ui_style_from_cch(), and ui_style_to_cch().
| bool UiStyle::bold |
Definition at line 161 of file ui_backend.h.
Referenced by ui_ncurses_style_apply(), ui_style_from_cch(), and ui_style_to_cch().
| bool UiStyle::dim |
Definition at line 162 of file ui_backend.h.
Referenced by ui_ncurses_style_apply(), ui_style_from_cch(), and ui_style_to_cch().
| UiColor UiStyle::fg |
Definition at line 159 of file ui_backend.h.
Referenced by ui_style_from_cch(), ui_style_new(), and ui_style_to_cch().
| bool UiStyle::invis |
Definition at line 167 of file ui_backend.h.
Referenced by ui_ncurses_style_apply(), ui_style_from_cch(), and ui_style_to_cch().
| bool UiStyle::italic |
Definition at line 163 of file ui_backend.h.
Referenced by ui_ncurses_style_apply(), ui_style_from_cch(), and ui_style_to_cch().
| bool UiStyle::reverse |
Definition at line 166 of file ui_backend.h.
Referenced by ui_ncurses_style_apply(), ui_style_from_cch(), and ui_style_to_cch().
| bool UiStyle::underline |
Definition at line 164 of file ui_backend.h.
Referenced by ui_ncurses_style_apply(), ui_style_from_cch(), and ui_style_to_cch().