summaryrefslogtreecommitdiff
path: root/src/setup
diff options
context:
space:
mode:
authorFabian Greffrath2014-03-18 06:56:11 +0100
committerFabian Greffrath2014-03-18 06:56:11 +0100
commit20db96ec6aa47a89eabaf215eae0dc5edac08f36 (patch)
tree824fad5f68d4fd3d4418d891bada03d3fa742023 /src/setup
parent7d8526e3ba91fef73e5c6129cce9a629cb3c8bb4 (diff)
downloadchocolate-doom-20db96ec6aa47a89eabaf215eae0dc5edac08f36.tar.gz
chocolate-doom-20db96ec6aa47a89eabaf215eae0dc5edac08f36.tar.bz2
chocolate-doom-20db96ec6aa47a89eabaf215eae0dc5edac08f36.zip
Add a dedicated key for taking screenshots.
Diffstat (limited to 'src/setup')
-rw-r--r--src/setup/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup/keyboard.c b/src/setup/keyboard.c
index 670f0c92..930d2714 100644
--- a/src/setup/keyboard.c
+++ b/src/setup/keyboard.c
@@ -64,6 +64,7 @@ static int *shortcuts[] = { &key_menu_help, &key_menu_save, &key_menu_load,
&key_menu_endgame, &key_menu_messages, &key_spy,
&key_menu_qload, &key_menu_quit, &key_menu_gamma,
&key_menu_incscreen, &key_menu_decscreen,
+ &key_menu_screenshot,
&key_message_refresh, &key_multi_msg,
&key_multi_msgplayer[0], &key_multi_msgplayer[1],
&key_multi_msgplayer[2], &key_multi_msgplayer[3] };
@@ -309,6 +310,7 @@ static void OtherKeysDialog(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(unused))
AddKeyControl(table, "Increase screen size", &key_menu_incscreen);
AddKeyControl(table, "Decrease screen size", &key_menu_decscreen);
+ AddKeyControl(table, "Save a screenshot", &key_menu_screenshot);
AddKeyControl(table, "Display last message", &key_message_refresh);
AddKeyControl(table, "Finish recording demo", &key_demo_quit);