mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
theme: add window_(in)active_label_text_color
Support both active and inactive colors for titlebar text
This commit is contained in:
parent
606b6d946e
commit
597650b457
5 changed files with 37 additions and 9 deletions
|
|
@ -236,7 +236,12 @@ struct view {
|
|||
struct wl_list parts;
|
||||
struct wlr_box box; /* remember geo so we know when to update */
|
||||
} ssd;
|
||||
struct wlr_texture *title;
|
||||
|
||||
/* The title is unique to each view, so we store these here */
|
||||
struct {
|
||||
struct wlr_texture *active;
|
||||
struct wlr_texture *inactive;
|
||||
} title;
|
||||
|
||||
struct wlr_foreign_toplevel_handle_v1 *toplevel_handle;
|
||||
struct wl_listener toplevel_handle_request_maximize;
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ struct theme {
|
|||
float window_active_title_bg_color[4];
|
||||
float window_inactive_title_bg_color[4];
|
||||
|
||||
float window_active_label_text_color[4];
|
||||
float window_inactive_label_text_color[4];
|
||||
|
||||
/* buttons */
|
||||
float window_active_button_iconify_unpressed_image_color[4];
|
||||
float window_active_button_max_unpressed_image_color[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue