1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

WindowServer: Start implementing a menu system.

I'm going with a global top-of-the-screen menu instead of per-window menus.
The basic idea is that menus will live in the WindowServer and clients can
create menus via WindowServer requests.
This commit is contained in:
Andreas Kling 2019-02-11 09:47:10 +01:00
parent 7abef6ba9e
commit 443b043b49
14 changed files with 487 additions and 6 deletions

View file

@ -0,0 +1,16 @@
#include "WSMenuItem.h"
WSMenuItem::WSMenuItem(const String& text)
: m_type(Text)
, m_text(text)
{
}
WSMenuItem::WSMenuItem(Type type)
: m_type(type)
{
}
WSMenuItem::~WSMenuItem()
{
}