mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Replace multi_rect with lab_scene_rect
lab_scene_rect accepts the arbitrary number of borders and a background color.
This commit is contained in:
parent
4cc6b354b0
commit
ffd400503e
12 changed files with 187 additions and 140 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include "regions.h"
|
||||
#include "view.h"
|
||||
|
||||
/* TODO: replace this with single lab_scene_rect */
|
||||
struct overlay_rect {
|
||||
struct wlr_scene_tree *tree;
|
||||
|
||||
|
|
@ -14,7 +15,7 @@ struct overlay_rect {
|
|||
struct wlr_scene_rect *bg_rect;
|
||||
|
||||
bool border_enabled;
|
||||
struct multi_rect *border_rect;
|
||||
struct lab_scene_rect *border_rect;
|
||||
};
|
||||
|
||||
struct overlay {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue