summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-12 08:39:19 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-12 08:39:19 +0100
commit15b4c9f9f116560505ebb6b4c7aaef15e49d7406 (patch)
tree15591932e3f4cd2b8a98296290c081af291422fe /Applications
parent133706d697b7e7441a7f4968b5a52dfc0323d34b (diff)
downloadserenity-15b4c9f9f116560505ebb6b4c7aaef15e49d7406.zip
WindowServer: More work on the menu system.
Menus are now tied to a Process (by WeakPtr.) This will allow us to pass notifications to the correct event stream.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/Terminal/main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp
index 9ef6f64d83..50e4a7010b 100644
--- a/Applications/Terminal/main.cpp
+++ b/Applications/Terminal/main.cpp
@@ -79,7 +79,13 @@ int main(int argc, char** argv)
app_menu->add_item(1, "Quit");
menubar->add_menu(move(app_menu));
- auto help_menu = make<GMenu>("?");
+ auto font_menu = make<GMenu>("Font");
+ font_menu->add_item(30, "Liza 8x10");
+ font_menu->add_item(31, "LizaRegular 8x10");
+ font_menu->add_item(32, "LizaBold 8x10");
+ menubar->add_menu(move(font_menu));
+
+ auto help_menu = make<GMenu>("Help");
help_menu->add_item(2, "About");
menubar->add_menu(move(help_menu));