2020-06-29 19:27:59 +01:00
|
|
|
/*
|
|
|
|
|
* Theme engine for labwc - trying to be consistent with openbox
|
|
|
|
|
*
|
|
|
|
|
* Copyright Johan Malm 2020
|
|
|
|
|
*/
|
|
|
|
|
|
2020-06-11 21:20:43 +01:00
|
|
|
#ifndef THEME_H
|
|
|
|
|
#define THEME_H
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2020-06-29 19:27:59 +01:00
|
|
|
#include <wlr/render/wlr_renderer.h>
|
2020-06-11 21:20:43 +01:00
|
|
|
|
|
|
|
|
struct theme {
|
|
|
|
|
float window_active_title_bg_color[4];
|
2020-06-12 21:41:30 +01:00
|
|
|
float window_active_handle_bg_color[4];
|
|
|
|
|
float window_inactive_title_bg_color[4];
|
2020-06-29 19:27:59 +01:00
|
|
|
struct wlr_texture *xbm_close;
|
2020-06-11 21:20:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern struct theme theme;
|
|
|
|
|
|
|
|
|
|
void theme_read(const char *filename);
|
|
|
|
|
|
|
|
|
|
#endif /* THEME_H */
|