mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
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.
17 lines
199 B
C++
17 lines
199 B
C++
#include "WSMenuItem.h"
|
|
|
|
WSMenuItem::WSMenuItem(const String& text)
|
|
: m_type(Text)
|
|
, m_text(text)
|
|
{
|
|
}
|
|
|
|
WSMenuItem::WSMenuItem(Type type)
|
|
: m_type(type)
|
|
{
|
|
}
|
|
|
|
WSMenuItem::~WSMenuItem()
|
|
{
|
|
}
|