diff options
author | Simon Howard | 2015-04-04 21:32:44 -0400 |
---|---|---|
committer | Simon Howard | 2015-04-04 21:33:36 -0400 |
commit | 710e963acad611dfd1c5780d9f68f6ef91e93a22 (patch) | |
tree | 0fd32ea1bc917250ef93d2e65e37f7d9c79210b7 /src/setup/display.c | |
parent | 356554c22998264769a5c516697cbfbd43847ce4 (diff) | |
download | chocolate-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/display.c')
-rw-r--r-- | src/setup/display.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/setup/display.c b/src/setup/display.c index 1398aaf0..e94db94e 100644 --- a/src/setup/display.c +++ b/src/setup/display.c @@ -28,6 +28,8 @@ #include "display.h" #include "config.h" +#define WINDOW_HELP_URL "http://www.chocolate-doom.org/setup-display" + extern void RestartTextscreen(void); typedef struct @@ -535,6 +537,8 @@ static void AdvancedDisplayConfig(TXT_UNCAST_ARG(widget), window = TXT_NewWindow("Advanced display options"); + TXT_SetWindowHelpURL(window, WINDOW_HELP_URL); + TXT_SetColumnWidths(window, 35); TXT_AddWidgets(window, @@ -595,6 +599,8 @@ void ConfigDisplay(void) window = TXT_NewWindow("Display Configuration"); + TXT_SetWindowHelpURL(window, WINDOW_HELP_URL); + // Some machines can have lots of video modes. This tries to // keep a limit of six lines by increasing the number of // columns. In extreme cases, the window is moved up slightly. |