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 "files.h"
29#include "input/cursor.h"
30#include "toolkit/toolkit.h"
31
32#ifdef __cplusplus
33extern "C" {
34#endif // __cplusplus
35
47
57
65
85
105bspl_object_t *wlmaker_config_object_load(
106 wlmaker_files_t *files_ptr,
107 const char *name_ptr,
108 const char *arg_fname_ptr,
109 const char *xdg_config_fname_ptr,
110 const uint8_t *default_data_ptr,
111 size_t default_data_size);
112
124bspl_dict_t *wlmaker_config_load(
125 wlmaker_files_t *files_ptr,
126 const char *fname_ptr);
127
138bspl_dict_t *wlmaker_state_load(
139 wlmaker_files_t *files_ptr,
140 const char *fname_ptr);
141
142extern const bspl_desc_t wlmaker_config_style_desc[];
143
145extern const bs_test_set_t wlmaker_config_test_set;
146
147#ifdef __cplusplus
148} // extern "C"
149#endif // __cplusplus
150
151#endif /* __CONFIG_H__ */
152/* == End of config.h ====================================================== */
bspl_dict_t * wlmaker_config_load(wlmaker_files_t *files_ptr, const char *fname_ptr)
Definition config.c:338
wlmaker_config_decoration_t
Definition config.h:37
@ WLMAKER_CONFIG_DECORATION_SUGGEST_CLIENT
Definition config.h:39
@ WLMAKER_CONFIG_DECORATION_SUGGEST_SERVER
Definition config.h:41
@ WLMAKER_CONFIG_DECORATION_ENFORCE_CLIENT
Definition config.h:43
@ WLMAKER_CONFIG_DECORATION_ENFORCE_SERVER
Definition config.h:45
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:314
const bs_test_set_t wlmaker_config_test_set
Definition config.c:496
const bspl_desc_t wlmaker_config_style_desc[]
Definition config.c:283
bspl_dict_t * wlmaker_state_load(wlmaker_files_t *files_ptr, const char *fname_ptr)
Definition config.c:354
Definition files.c:32
Definition config.h:59
uint32_t text_color
Definition config.h:63
wlmtk_style_font_t font
Definition config.h:61
Definition config.h:67
wlmtk_tile_style_t tile
Definition config.h:71
wlmaker_config_task_list_style_t task_list
Definition config.h:81
wlmaker_config_clip_style_t clip
Definition config.h:79
wlmtk_menu_style_t menu
Definition config.h:77
wlmtk_window_style_t window
Definition config.h:75
wlmtk_dock_style_t dock
Definition config.h:73
uint32_t background_color
Definition config.h:69
Definition config.h:49
wlmtk_style_fill_t fill
Definition config.h:51
uint32_t text_color
Definition config.h:55
wlmtk_style_font_t font
Definition config.h:53
Definition cursor.h:40
char * name_ptr
Definition cursor.h:42
Definition style.h:120
Definition menu.h:44
Definition style.h:73
Definition style.h:101
Definition tile.h:40
Definition style.h:180