PatchworkOS
Loading...
Searching...
No Matches
theme_t Struct Reference

Theme structure. More...

#include <theme.h>

Data Fields

theme_color_set_t button
 
theme_color_set_t view
 
theme_color_set_t element
 
theme_color_set_t panel
 
theme_color_set_t deco
 
char wallpaper [MAX_PATH]
 
char fontsDir [MAX_PATH]
 
char cursorArrow [MAX_PATH]
 
char defaultFont [MAX_PATH]
 
char iconClose [MAX_PATH]
 
char iconMinimize [MAX_PATH]
 
int64_t frameSize
 
int64_t bezelSize
 
int64_t titlebarSize
 
int64_t panelSize
 
int64_t bigPadding
 
int64_t smallPadding
 
int64_t separatorSize
 
theme_ansi_t ansi
 
uint8_t reserved [512]
 

Detailed Description

Theme structure.

This structure holds all theme related information.

Definition at line 70 of file theme.h.

Field Documentation

◆ ansi

theme_ansi_t theme_t::ansi

◆ bezelSize

int64_t theme_t::bezelSize

Definition at line 84 of file theme.h.

Referenced by button_draw(), and theme_lazy_load().

◆ bigPadding

◆ button

theme_color_set_t theme_t::button

Definition at line 72 of file theme.h.

Referenced by button_draw(), and theme_lazy_load().

◆ cursorArrow

char theme_t::cursorArrow[MAX_PATH]

Definition at line 79 of file theme.h.

Referenced by main(), and theme_lazy_load().

◆ deco

◆ defaultFont

char theme_t::defaultFont[MAX_PATH]

Definition at line 80 of file theme.h.

Referenced by font_new(), and theme_lazy_load().

◆ element

theme_color_set_t theme_t::element

Definition at line 74 of file theme.h.

Referenced by theme_lazy_load().

◆ fontsDir

char theme_t::fontsDir[MAX_PATH]

Definition at line 78 of file theme.h.

Referenced by font_new(), and theme_lazy_load().

◆ frameSize

◆ iconClose

char theme_t::iconClose[MAX_PATH]

Definition at line 81 of file theme.h.

Referenced by theme_lazy_load(), and window_deco_init_controls().

◆ iconMinimize

char theme_t::iconMinimize[MAX_PATH]

Definition at line 82 of file theme.h.

Referenced by theme_lazy_load(), and window_deco_init_controls().

◆ panel

theme_color_set_t theme_t::panel

Definition at line 75 of file theme.h.

Referenced by theme_lazy_load().

◆ panelSize

◆ reserved

uint8_t theme_t::reserved[512]

Definition at line 91 of file theme.h.

◆ separatorSize

int64_t theme_t::separatorSize

◆ smallPadding

◆ titlebarSize

int64_t theme_t::titlebarSize

◆ view

theme_color_set_t theme_t::view

Definition at line 73 of file theme.h.

Referenced by label_procedure(), popup_procedure(), procedure(), side_panel_draw(), and theme_lazy_load().

◆ wallpaper

char theme_t::wallpaper[MAX_PATH]

Definition at line 77 of file theme.h.

Referenced by main(), and theme_lazy_load().


The documentation for this struct was generated from the following file: