mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +00:00
LibGUI: Add GMenu* and GApplication classes.
This commit is contained in:
parent
8d0bfa62fd
commit
9483b39227
9 changed files with 131 additions and 0 deletions
18
LibGUI/GMenuItem.cpp
Normal file
18
LibGUI/GMenuItem.cpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#include <LibGUI/GMenuItem.h>
|
||||
|
||||
GMenuItem::GMenuItem(Type type)
|
||||
: m_type(type)
|
||||
{
|
||||
}
|
||||
|
||||
GMenuItem::GMenuItem(unsigned identifier, const String& text)
|
||||
: m_type(Text)
|
||||
, m_identifier(identifier)
|
||||
, m_text(text)
|
||||
{
|
||||
}
|
||||
|
||||
GMenuItem::~GMenuItem()
|
||||
{
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue