labwc/include/config/rcxml.h
2021-03-30 22:39:52 +01:00

27 lines
594 B
C

#ifndef __LABWC_RCXML_H
#define __LABWC_RCXML_H
#include <stdbool.h>
#include <stdio.h>
#include <wayland-server-core.h>
#include "common/buf.h"
struct rcxml {
bool xdg_shell_server_side_deco;
char *theme_name;
int corner_radius;
char *font_name_activewindow;
int font_size_activewindow;
struct wl_list keybinds;
int title_height; /* not set in rc.xml, but derived from font, etc */
};
extern struct rcxml rc;
void rcxml_parse_xml(struct buf *b);
void rcxml_read(const char *filename);
void rcxml_finish(void);
void rcxml_get_nodenames(struct buf *b);
#endif /* __LABWC_RCXML_H */