wlmaker
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __CONFIG_H__
21#define __CONFIG_H__
22
23#include <inttypes.h>
24#include <libbase/libbase.h>
25#include <libbase/plist.h>
26#include <stddef.h>
27
28#include "toolkit/toolkit.h"
29#include "files.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif // __cplusplus
34
46
56
64
66typedef struct {
68 char *name_ptr;
70 uint64_t size;
72
92
93extern const float config_output_scale;
94
114bspl_object_t *wlmaker_config_object_load(
115 wlmaker_files_t *files_ptr,
116 const char *name_ptr,
117 const char *arg_fname_ptr,
118 const char *xdg_config_fname_ptr,
119 const uint8_t *default_data_ptr,
120 size_t default_data_size);
121
133bspl_dict_t *wlmaker_config_load(
134 wlmaker_files_t *files_ptr,
135 const char *fname_ptr);
136
147bspl_dict_t *wlmaker_state_load(
148 wlmaker_files_t *files_ptr,
149 const char *fname_ptr);
150
151extern const bspl_desc_t wlmaker_config_style_desc[];
152
154extern const bs_test_set_t wlmaker_config_test_set;
155
156#ifdef __cplusplus
157} // extern "C"
158#endif // __cplusplus
159
160#endif /* __CONFIG_H__ */
161/* == End of config.h ====================================================== */
bspl_dict_t * wlmaker_config_load(wlmaker_files_t *files_ptr, const char *fname_ptr)
Definition config.c:340
const float config_output_scale
Definition config.c:57
wlmaker_config_decoration_t
Definition config.h:36
@ WLMAKER_CONFIG_DECORATION_SUGGEST_CLIENT
Definition config.h:38
@ WLMAKER_CONFIG_DECORATION_SUGGEST_SERVER
Definition config.h:40
@ WLMAKER_CONFIG_DECORATION_ENFORCE_CLIENT
Definition config.h:42
@ WLMAKER_CONFIG_DECORATION_ENFORCE_SERVER
Definition config.h:44
bspl_object_t * wlmaker_config_object_load(wlmaker_files_t *files_ptr, const char *name_ptr, const char *arg_fname_ptr, const char *xdg_config_fname_ptr, const uint8_t *default_data_ptr, size_t default_data_size)
Definition config.c:316
const bs_test_set_t wlmaker_config_test_set
Definition config.c:498
const bspl_desc_t wlmaker_config_style_desc[]
Definition config.c:285
bspl_dict_t * wlmaker_state_load(wlmaker_files_t *files_ptr, const char *fname_ptr)
Definition config.c:356
Definition files.c:32
Definition config.h:58
uint32_t text_color
Definition config.h:62
wlmtk_style_font_t font
Definition config.h:60
Definition config.h:66
uint64_t size
Definition config.h:70
char * name_ptr
Definition config.h:68
Definition config.h:74
wlmtk_tile_style_t tile
Definition config.h:78
wlmaker_config_cursor_style_t cursor
Definition config.h:90
wlmaker_config_task_list_style_t task_list
Definition config.h:88
wlmaker_config_clip_style_t clip
Definition config.h:86
wlmtk_menu_style_t menu
Definition config.h:84
wlmtk_window_style_t window
Definition config.h:82
wlmtk_dock_style_t dock
Definition config.h:80
uint32_t background_color
Definition config.h:76
Definition config.h:48
wlmtk_style_fill_t fill
Definition config.h:50
uint32_t text_color
Definition config.h:54
wlmtk_style_font_t font
Definition config.h:52
Definition style.h:120
Definition menu.h:44
Definition style.h:73
Definition style.h:101
Definition tile.h:40
Definition style.h:180