mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
16
WindowServer/WSMenuItem.cpp
Normal file
16
WindowServer/WSMenuItem.cpp
Normal 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()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user