mirror of
https://github.com/labwc/labwc.git
synced 2026-04-18 06:46:46 -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
|
|
@ -121,7 +121,9 @@ cycle_osd_classic_init(struct cycle_osd_output *osd_output)
|
|||
.width = w,
|
||||
.height = h,
|
||||
.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
|
||||
};
|
||||
lab_scene_rect_create(osd_output->tree, &bg_opts);
|
||||
|
||||
|
|
@ -205,7 +207,9 @@ cycle_osd_classic_init(struct cycle_osd_output *osd_output)
|
|||
.width = w - 2 * padding,
|
||||
.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
|
||||
};
|
||||
struct lab_scene_rect *highlight_rect = lab_scene_rect_create(
|
||||
item->active_tree, &highlight_opts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue