summaryrefslogtreecommitdiff
path: root/setup/mainmenu.c
diff options
context:
space:
mode:
authorSimon Howard2006-06-29 18:05:32 +0000
committerSimon Howard2006-06-29 18:05:32 +0000
commit1d41349f0326187866c8212fed490f95b9692e47 (patch)
tree65ed1eecbd1356cd03fbc425a96b1514352e71a5 /setup/mainmenu.c
parent0fceea019eb22150b79dfe789c0b0dd2192bb7a3 (diff)
downloadchocolate-doom-1d41349f0326187866c8212fed490f95b9692e47.tar.gz
chocolate-doom-1d41349f0326187866c8212fed490f95b9692e47.tar.bz2
chocolate-doom-1d41349f0326187866c8212fed490f95b9692e47.zip
Initial mouse configuration window.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 564
Diffstat (limited to 'setup/mainmenu.c')
-rw-r--r--setup/mainmenu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup/mainmenu.c b/setup/mainmenu.c
index 4fbea079..2167bb4d 100644
--- a/setup/mainmenu.c
+++ b/setup/mainmenu.c
@@ -47,6 +47,7 @@ void QuitConfirm(void *unused1, void *unused2)
extern void ConfigDisplay();
extern void ConfigKeyboard();
+extern void ConfigMouse();
void MainMenu(void)
{
@@ -64,7 +65,10 @@ void MainMenu(void)
TXT_AddWidget(window, button);
TXT_SignalConnect(button, "pressed", ConfigKeyboard, NULL);
- TXT_AddWidget(window, TXT_NewButton("Configure mouse"));
+ button = TXT_NewButton("Configure mouse");
+ TXT_AddWidget(window, button);
+ TXT_SignalConnect(button, "pressed", ConfigMouse, NULL);
+
TXT_AddWidget(window, TXT_NewButton("Save parameters and launch DOOM"));
TXT_AddWidget(window, TXT_NewStrut(0, 1));
TXT_AddWidget(window, TXT_NewButton("Start a Network game"));