|
Paraslash Audio Streaming |
About News Download Documentation Development |
Macros | |
#define | NUM_THEMES (ARRAY_SIZE(themes)) |
Functions | |
void | theme_init (const char *name, struct gui_theme *t) |
void | theme_prev (struct gui_theme *t) |
void | theme_next (struct gui_theme *t) |
Theme definitions.
#define NUM_THEMES (ARRAY_SIZE(themes)) |
Number of elements in the themes array.
void theme_init | ( | const char * | name, |
struct gui_theme * | t | ||
) |
Initialize a theme.
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.
void theme_prev | ( | struct gui_theme * | t | ) |
Activate the previous available theme.
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.
void theme_next | ( | struct gui_theme * | t | ) |
Activate the next available theme.
t | Theme definition is stored here. |
This works exactly as theme_prev() but cycles forwards through the list of available themes.