mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
WindowServer: Let's have a cute little symbol for the system menu.
This commit is contained in:
parent
f8951afe17
commit
f7b25773ab
2 changed files with 2 additions and 1 deletions
Binary file not shown.
|
@ -184,7 +184,8 @@ WSWindowManager::WSWindowManager()
|
|||
auto menubar = make<WSMenuBar>();
|
||||
|
||||
{
|
||||
auto menu = make<WSMenu>("Serenity");
|
||||
byte system_menu_name[] = { 0xfc, 0 };
|
||||
auto menu = make<WSMenu>(String((const char*)system_menu_name));
|
||||
menu->add_item(make<WSMenuItem>(0, "Launch Terminal"));
|
||||
menu->add_item(make<WSMenuItem>(WSMenuItem::Separator));
|
||||
menu->add_item(make<WSMenuItem>(1, "Hello again"));
|
||||
|
|
Loading…
Add table
Reference in a new issue