Theme definitions.
More...
#include "para.h"
#include "gui.h"
#include <curses.h>
◆ NUM_THEMES
Number of elements in the themes array.
◆ 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.