mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
menu: [wip] support borders, rounded corners and padding around items
Following theme configurations are added: menu.padding.width: 0 menu.padding.height: 0 menu.corner-radius: 0 menu.border.width: 1 menu.border.color: #a8a5a2 menu.bg.color: #fcfbfa menu.items.corner-radius: 0 menu.items.border.width: 0 menu.items.border.color: #fcfbfa menu.items.active.border.color: #a8a5a2
This commit is contained in:
parent
d7b5eb037a
commit
9d2dc87a2a
6 changed files with 206 additions and 36 deletions
|
|
@ -69,6 +69,7 @@ struct menu {
|
|||
struct menuitem *item;
|
||||
} selection;
|
||||
struct wlr_scene_tree *scene_tree;
|
||||
struct wlr_scene_node *background;
|
||||
bool is_pipemenu;
|
||||
enum menu_align align;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue