PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches

Theme. More...

Collaboration diagram for Theme:

Detailed Description

Theme.

Data Structures

struct  theme_color_set_t
 
struct  theme_ansi_t
 ANSI colors. More...
 
struct  theme_t
 Theme structure. More...
 

Macros

#define THEME_COLOR_INVALID   0xFFFF00FF
 Invalid color constant.
 
#define THEME_ANSI_COLOR_COUNT   8
 Number of ANSI colors.
 

Functions

theme_ttheme_global_get (void)
 Get the global theme.
 

Macro Definition Documentation

◆ THEME_COLOR_INVALID

#define THEME_COLOR_INVALID   0xFFFF00FF

Invalid color constant.

Definition at line 25 of file theme.h.

◆ THEME_ANSI_COLOR_COUNT

#define THEME_ANSI_COLOR_COUNT   8

Number of ANSI colors.

Definition at line 52 of file theme.h.

Function Documentation

◆ theme_global_get()

theme_t * theme_global_get ( void  )

Get the global theme.

Will potentially load the theme if it is not already loaded.

Returns
The global theme.

Definition at line 97 of file theme.c.

Here is the call graph for this function:
Here is the caller graph for this function: