pc/scenario editor: add a basic preferences's menu.

This commit is contained in:
ALONSO Laurent
2022-07-15 15:53:23 +02:00
committed by Celtic Minstrel
parent d83139eaa0
commit 26d2328fe7
11 changed files with 165 additions and 11 deletions

View File

@@ -79,6 +79,7 @@ void init_menubar() {
MenuHandler* handler = [[[MenuHandler alloc] init] retain];
setMenuCallback([app_menu itemWithTitle: @"About BoE Scenario Editor"], handler, @selector(menuChoice:), int(eMenu::ABOUT));
setMenuCallback([app_menu itemWithTitle: @"Preferences…"], handler, @selector(menuChoice:), int(eMenu::PREFS));
setMenuCallback([app_menu itemWithTitle: @"Quit BoE Scenario Editor"], handler, @selector(menuChoice:), int(eMenu::QUIT));
int i = 0;