1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00

LibGUI: More work on client-side menus.

This commit is contained in:
Andreas Kling 2019-02-11 15:37:12 +01:00
parent c75ecaae32
commit 757429fb55
6 changed files with 55 additions and 3 deletions

View file

@ -5,9 +5,13 @@
class GMenu {
public:
GMenu();
explicit GMenu(const String& name);
~GMenu();
void add_item(unsigned identifier, const String& text);
void add_separator();
private:
String m_name;
Vector<GMenuItem> m_items;
};