mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
Chase wlroots: prep work: menu to tree
This commit is contained in:
parent
3f65a2ff77
commit
65a5315e42
2 changed files with 29 additions and 20 deletions
|
|
@ -16,6 +16,7 @@ enum menu_align {
|
|||
};
|
||||
|
||||
struct menu_scene {
|
||||
struct wlr_scene_tree *tree;
|
||||
struct lab_data_buffer *buffer;
|
||||
struct wlr_scene_node *text;
|
||||
struct wlr_scene_node *background;
|
||||
|
|
@ -25,6 +26,7 @@ struct menuitem {
|
|||
struct wl_list actions;
|
||||
struct menu *parent;
|
||||
struct menu *submenu;
|
||||
struct wlr_scene_tree *tree;
|
||||
struct menu_scene normal;
|
||||
struct menu_scene selected;
|
||||
struct wl_list link; /* menu::menuitems */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue