mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
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()
25 lines
482 B
C
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 */
|