2020-08-03 20:56:38 +01:00
|
|
|
#ifndef __LABWC_RCXML_H
|
|
|
|
|
#define __LABWC_RCXML_H
|
2020-06-05 23:04:54 +01:00
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdbool.h>
|
2020-06-16 07:21:53 +01:00
|
|
|
#include <wayland-server-core.h>
|
2020-06-05 23:04:54 +01:00
|
|
|
|
2020-07-31 21:31:03 +01:00
|
|
|
#include "common/buf.h"
|
2020-06-19 22:00:22 +01:00
|
|
|
|
2020-06-05 23:04:54 +01:00
|
|
|
struct rcxml {
|
|
|
|
|
bool client_side_decorations;
|
2020-07-09 22:41:54 +01:00
|
|
|
char *theme_name;
|
2020-07-31 11:11:50 +01:00
|
|
|
char *font_name_activewindow;
|
|
|
|
|
int font_size_activewindow;
|
2020-06-16 07:21:53 +01:00
|
|
|
struct wl_list keybinds;
|
2020-06-05 23:04:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern struct rcxml rc;
|
|
|
|
|
|
2020-06-09 21:40:46 +01:00
|
|
|
void rcxml_parse_xml(struct buf *b);
|
2020-06-05 23:04:54 +01:00
|
|
|
void rcxml_read(const char *filename);
|
2020-06-09 22:01:19 +01:00
|
|
|
void rcxml_get_nodenames(struct buf *b);
|
2020-06-05 23:04:54 +01:00
|
|
|
|
2020-08-03 20:56:38 +01:00
|
|
|
#endif /* __LABWC_RCXML_H */
|