mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 19:35:08 +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.
16 lines
199 B
C++
16 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()
|
|
{
|
|
}
|