symbols used by gui and gui_theme
More...
|
#define | LEFT 1 |
| Status item text should be left-aligned. More...
|
|
#define | RIGHT 2 |
| Status item text should be right-aligned. More...
|
|
#define | CENTER 3 |
| Status item text should be displayed centered. More...
|
|
symbols used by gui and gui_theme
◆ LEFT
Status item text should be left-aligned.
◆ RIGHT
Status item text should be right-aligned.
◆ CENTER
Status item text should be displayed centered.
◆ theme_init()
void theme_init |
( |
const char * |
name, |
|
|
struct gui_theme * |
t |
|
) |
| |
Initialize a theme.
- Parameters
-
name | Name of the theme to be initialized. |
t | The function fills out this structure. |
This function exits if there is no theme called name.
◆ theme_prev()
Activate the previous available theme.
- Parameters
-
t | Theme definition is stored here. |
This picks the theme that comes before the currently active one, or the last available theme, if the current one is the first.
- See also
- theme_next().
◆ theme_next()
Activate the next available theme.
- Parameters
-
t | Theme definition is stored here. |
This works exactly as theme_prev() but cycles forwards through the list of available themes.