WindowServer: Let's have a cute little symbol for the system menu.

This commit is contained in:
Andreas Kling 2019-02-11 13:00:41 +01:00
parent f8951afe17
commit f7b25773ab
Notes: sideshowbarker 2024-07-19 15:47:23 +09:00
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -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"));