mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Add API's and plumbing for WindowServer clients to make menus.
This commit is contained in:
parent
bb31d961b4
commit
133706d697
17 changed files with 322 additions and 24 deletions
|
@ -12,6 +12,11 @@ public:
|
|||
void add_separator();
|
||||
|
||||
private:
|
||||
friend class GMenuBar;
|
||||
int menu_id() const { return m_menu_id; }
|
||||
int realize_menu();
|
||||
|
||||
int m_menu_id { 0 };
|
||||
String m_name;
|
||||
Vector<GMenuItem> m_items;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue