diff --git a/include/menu/menu.h b/include/menu/menu.h index f55bc365..cc810d0d 100644 --- a/include/menu/menu.h +++ b/include/menu/menu.h @@ -24,6 +24,7 @@ struct menu_scene { struct wlr_scene_tree *tree; struct wlr_scene_node *text; struct wlr_scene_node *background; + struct scaled_font_buffer *buffer; }; @@ -74,6 +75,9 @@ struct menu { /* Used to match a window-menu to the view that triggered it. */ struct view *triggered_by_view; /* may be NULL */ struct wl_list link; /* server.menus */ + struct wlr_scene_rect *border; + struct wlr_scene_rect *background; + struct wlr_scene_tree *items_tree; }; /* For keyboard support */ diff --git a/include/theme.h b/include/theme.h index 2b600676..d11e94ef 100644 --- a/include/theme.h +++ b/include/theme.h @@ -78,6 +78,9 @@ struct theme { float menu_items_text_color[4]; float menu_items_active_bg_color[4]; float menu_items_active_text_color[4]; + float menu_border_color[4]; + int menu_border_width; + int menu_min_width; int menu_max_width;