labwc/include/config/rcxml.h
Johan Malm 2f5a44d34d theme: move title_height to theme struct
title_height is a derived variable which needs both config and theme
variables (font height and title padding). The code is tidier calling
post_processing() for this from theme_init()
2021-04-15 20:13:49 +01:00

25 lines
482 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;
};
extern struct rcxml rc;
void rcxml_parse_xml(struct buf *b);
void rcxml_read(const char *filename);
void rcxml_finish(void);
#endif /* __LABWC_RCXML_H */