mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
Add API's and plumbing for WindowServer clients to make menus.
This commit is contained in:
parent
bb31d961b4
commit
133706d697
17 changed files with 322 additions and 24 deletions
|
@ -7,8 +7,9 @@
|
|||
#include <SharedGraphics/Painter.h>
|
||||
#include <SharedGraphics/Font.h>
|
||||
|
||||
WSMenu::WSMenu(const String& name)
|
||||
: m_name(name)
|
||||
WSMenu::WSMenu(int menu_id, String&& name)
|
||||
: m_menu_id(menu_id)
|
||||
, m_name(move(name))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue