mirror of
https://github.com/labwc/labwc.git
synced 2026-02-13 04:27:49 -05:00
include/: refactor header files more
This commit is contained in:
parent
53266a0d5a
commit
4d1363dcae
32 changed files with 130 additions and 78 deletions
26
include/theme/theme.h
Normal file
26
include/theme/theme.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* Theme engine for labwc - trying to be consistent with openbox
|
||||
*
|
||||
* Copyright Johan Malm 2020
|
||||
*/
|
||||
|
||||
#ifndef __LABWC_THEME_H
|
||||
#define __LABWC_THEME_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <wlr/render/wlr_renderer.h>
|
||||
|
||||
struct theme {
|
||||
float window_active_title_bg_color[4];
|
||||
float window_active_handle_bg_color[4];
|
||||
float window_inactive_title_bg_color[4];
|
||||
struct wlr_texture *xbm_close;
|
||||
struct wlr_texture *xbm_maximize;
|
||||
struct wlr_texture *xbm_iconify;
|
||||
};
|
||||
|
||||
extern struct theme theme;
|
||||
|
||||
void theme_read(const char *theme_name);
|
||||
|
||||
#endif /* __LABWC_THEME_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue