mirror of
https://github.com/labwc/labwc.git
synced 2026-04-18 06:46:46 -04:00
Add osd.border.type and osd.border.bevel-width options
This commit is contained in:
parent
773996f1ee
commit
362c3e1b47
9 changed files with 35 additions and 10 deletions
|
|
@ -120,7 +120,8 @@ cycle_osd_classic_init(struct cycle_osd_output *osd_output)
|
|||
.bg_color = bg_color,
|
||||
.width = w,
|
||||
.height = h,
|
||||
.beveled = true,
|
||||
.border_type = theme->osd_border_type,
|
||||
.bevel_width = theme->osd_border_bevel_width
|
||||
};
|
||||
lab_scene_rect_create(osd_output->tree, &bg_opts);
|
||||
|
||||
|
|
@ -203,7 +204,8 @@ cycle_osd_classic_init(struct cycle_osd_output *osd_output)
|
|||
.bg_color = active_bg_color,
|
||||
.width = w - 2 * padding,
|
||||
.height = switcher_theme->item_height,
|
||||
.beveled = 1,
|
||||
.border_type = theme->osd_border_type,
|
||||
.bevel_width = theme->osd_border_bevel_width
|
||||
};
|
||||
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