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:
parent
c75ecaae32
commit
757429fb55
6 changed files with 55 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue