mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
WindowServer: Let's have a cute little symbol for the system menu.
This commit is contained in:
parent
f8951afe17
commit
f7b25773ab
Notes:
sideshowbarker
2024-07-19 15:47:23 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/f7b25773ab1
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…
Reference in a new issue