Allow leaving game per keyboard shortcuts
Bug #1774596 reported by
GunChleoc
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
It should be possible to leave a game via keyboard shortcuts
ESC: Bring up the main menu
Enter: Bring up the "are you sure" dialog with Enter/Esc keyboard handling
CRTL+Enter: Leave the game immediately
Related branches
lp:~thenifker13-deactivatedaccount/widelands/trunk
On hold
for merging
into
lp:widelands
- Toni Förster: Approve
- Widelands Developers: Pending requested
-
Diff: 265 lines (+90/-2)15 files modifiedsrc/editor/editorinteractive.cc (+3/-1)
src/editor/ui_menus/main_menu.cc (+16/-0)
src/editor/ui_menus/main_menu.h (+2/-0)
src/ui_basic/window.cc (+20/-0)
src/ui_basic/window.h (+1/-0)
src/ui_fsmenu/campaign_select.cc (+2/-0)
src/ui_fsmenu/loadgame.cc (+2/-0)
src/ui_fsmenu/mapselect.cc (+2/-0)
src/ui_fsmenu/scenario_select.cc (+2/-0)
src/wui/game_message_menu.cc (+4/-0)
src/wui/game_options_menu.cc (+22/-0)
src/wui/game_options_menu.h (+5/-0)
src/wui/interactive_player.cc (+3/-1)
src/wui/login_box.cc (+3/-0)
src/wui/story_message_box.cc (+3/-0)
information type: | Public → Public Security |
To post a comment you must log in.
I would be interested in this one too - and can write some, if not even all code for this one.
As addition I would say ESC should close currently opened windows first and then bring up the Main Menu when there are no windows remaining.