summaryrefslogtreecommitdiff
path: root/src/setup/mouse.c
diff options
context:
space:
mode:
authorSimon Howard2015-04-04 21:32:44 -0400
committerSimon Howard2015-04-04 21:33:36 -0400
commit710e963acad611dfd1c5780d9f68f6ef91e93a22 (patch)
tree0fd32ea1bc917250ef93d2e65e37f7d9c79210b7 /src/setup/mouse.c
parent356554c22998264769a5c516697cbfbd43847ce4 (diff)
downloadchocolate-doom-710e963acad611dfd1c5780d9f68f6ef91e93a22.tar.gz
chocolate-doom-710e963acad611dfd1c5780d9f68f6ef91e93a22.tar.bz2
chocolate-doom-710e963acad611dfd1c5780d9f68f6ef91e93a22.zip
setup: Add help URLs for configuration windows.
The wiki now has documentation pages for most of the windows in the setup tool. Add help URLs that link to these. One other minor change here is that the warp button on the main menu had to change to F2 instead of F1, which is now the help key.
Diffstat (limited to 'src/setup/mouse.c')
-rw-r--r--src/setup/mouse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/setup/mouse.c b/src/setup/mouse.c
index 9fdfc833..91e38870 100644
--- a/src/setup/mouse.c
+++ b/src/setup/mouse.c
@@ -25,6 +25,8 @@
#include "mode.h"
#include "mouse.h"
+#define WINDOW_HELP_URL "http://www.chocolate-doom.org/setup-mouse"
+
static int usemouse = 1;
static int mouseSensitivity = 5;
@@ -84,6 +86,8 @@ static void ConfigExtraButtons(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(unused))
window = TXT_NewWindow("Additional mouse buttons");
+ TXT_SetWindowHelpURL(window, WINDOW_HELP_URL);
+
TXT_AddWidgets(window,
buttons_table = TXT_NewTable(2),
NULL);
@@ -112,6 +116,8 @@ void ConfigMouse(void)
window = TXT_NewWindow("Mouse configuration");
+ TXT_SetWindowHelpURL(window, WINDOW_HELP_URL);
+
TXT_AddWidgets(window,
TXT_NewCheckBox("Enable mouse", &usemouse),
TXT_NewInvertedCheckBox("Allow vertical mouse movement",