mirror of
https://github.com/labwc/labwc.git
synced 2026-04-09 08:21:18 -04:00
Add highlight/shadow controls for beveled items
This commit is contained in:
parent
6dffb80d6a
commit
b2803b8f4d
14 changed files with 173 additions and 19 deletions
|
|
@ -151,7 +151,9 @@ create_item_scene(struct wlr_scene_tree *parent, struct view *view,
|
|||
.width = switcher_theme->item_width,
|
||||
.height = switcher_theme->item_height,
|
||||
.border_type = theme->osd_border_type,
|
||||
.bevel_width = theme->osd_border_bevel_width
|
||||
.bevel_width = theme->osd_border_bevel_width,
|
||||
.highlight = theme->osd_highlight,
|
||||
.shadow = theme->osd_shadow
|
||||
};
|
||||
item->active_bg = lab_scene_rect_create(tree, &opts);
|
||||
|
||||
|
|
@ -285,7 +287,9 @@ cycle_osd_thumbnail_init(struct cycle_osd_output *osd_output)
|
|||
.width = items_width + 2 * padding,
|
||||
.height = items_height + 2 * padding,
|
||||
.border_type = theme->osd_border_type,
|
||||
.bevel_width = theme->osd_border_bevel_width
|
||||
.bevel_width = theme->osd_border_bevel_width,
|
||||
.highlight = theme->osd_highlight,
|
||||
.shadow = theme->osd_shadow
|
||||
};
|
||||
struct lab_scene_rect *bg =
|
||||
lab_scene_rect_create(osd_output->tree, &bg_opts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue