mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
27 lines
594 B
C
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 */
|