wlmaker
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/* ========================================================================= */
21#ifndef __CONFIG_H__
22#define __CONFIG_H__
23
24#include <inttypes.h>
25#include <libbase/libbase.h>
26#include <libbase/plist.h>
27#include <stdbool.h>
28#include <stddef.h>
29
30#include "files.h"
31#include "input/cursor.h"
32#include "task_list.h" // IWYU pragma: keep
33#include "toolkit/toolkit.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif // __cplusplus
38
50
58
82
102bspl_object_t *wlmaker_config_object_load(
103 wlmaker_files_t *files_ptr,
104 const char *name_ptr,
105 const char *arg_fname_ptr,
106 const char *xdg_config_fname_ptr,
107 const uint8_t *default_data_ptr,
108 size_t default_data_size);
109
121bspl_dict_t *wlmaker_config_load(
122 wlmaker_files_t *files_ptr,
123 const char *fname_ptr);
124
135bspl_dict_t *wlmaker_state_load(
136 wlmaker_files_t *files_ptr,
137 const char *fname_ptr);
138
153 wlmaker_files_t *files_ptr,
154 const char *fname_ptr,
155 wlmaker_config_style_t *style_ptr);
156
159
160extern const bspl_desc_t wlmaker_config_style_desc[];
161
163extern const bs_test_set_t wlmaker_config_test_set;
164
165#ifdef __cplusplus
166} // extern "C"
167#endif // __cplusplus
168
169#endif /* __CONFIG_H__ */
170/* == End of config.h ====================================================== */
bspl_dict_t * wlmaker_config_load(wlmaker_files_t *files_ptr, const char *fname_ptr)
Definition config.c:126
void wlmaker_config_style_release(wlmaker_config_style_t *style_ptr)
wlmaker_config_decoration_t
Definition config.h:40
@ WLMAKER_CONFIG_DECORATION_SUGGEST_CLIENT
Definition config.h:42
@ WLMAKER_CONFIG_DECORATION_SUGGEST_SERVER
Definition config.h:44
@ WLMAKER_CONFIG_DECORATION_ENFORCE_CLIENT
Definition config.h:46
@ WLMAKER_CONFIG_DECORATION_ENFORCE_SERVER
Definition config.h:48
bool wlmaker_theme_load(wlmaker_files_t *files_ptr, const char *fname_ptr, wlmaker_config_style_t *style_ptr)
Definition config.c:158
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:102
const bs_test_set_t wlmaker_config_test_set
Definition config.c:261
const bspl_desc_t wlmaker_config_style_desc[]
Definition config.c:65
bspl_dict_t * wlmaker_state_load(wlmaker_files_t *files_ptr, const char *fname_ptr)
Definition config.c:142
Definition files.c:33
Definition config.h:52
uint32_t text_color
Definition config.h:56
wlmtk_style_font_t font
Definition config.h:54
Definition config.h:60
wlmaker_config_clip_style_t clip
Definition config.h:76
bool has_menu_style
Definition config.h:74
bool has_window_style
Definition config.h:70
struct wlmtk_window_style * window_style_ptr
Definition config.h:68
struct wlmtk_menu_style * menu_style_ptr
Definition config.h:72
uint32_t background_color
Definition config.h:62
Definition task_list.h:35
Definition cursor.h:44
char * name_ptr
Definition cursor.h:48
Definition dock.h:52
Definition menu.h:49
Definition style.h:105
Definition tile.h:44
Definition window.h:99