mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
Centralize buffer preparation and standardize placement
This commit is contained in:
parent
90e652a8a1
commit
d80dd2470b
16 changed files with 251 additions and 431 deletions
|
|
@ -150,7 +150,7 @@ create_item_scene(struct wlr_scene_tree *parent, struct view *view,
|
|||
.bg_color = switcher_theme->item_active_bg_color,
|
||||
.width = switcher_theme->item_width,
|
||||
.height = switcher_theme->item_height,
|
||||
.beveled = 1,
|
||||
.beveled = true,
|
||||
};
|
||||
item->active_bg = lab_scene_rect_create(tree, &opts);
|
||||
|
||||
|
|
@ -283,7 +283,7 @@ cycle_osd_thumbnail_init(struct cycle_osd_output *osd_output)
|
|||
.bg_color = theme->osd_bg_color,
|
||||
.width = items_width + 2 * padding,
|
||||
.height = items_height + 2 * padding,
|
||||
.beveled = 1,
|
||||
.beveled = true,
|
||||
};
|
||||
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