diff options
author | Simon Howard | 2006-06-20 18:49:36 +0000 |
---|---|---|
committer | Simon Howard | 2006-06-20 18:49:36 +0000 |
commit | decc0a876f8fa1c3cd8fef6307809c6617933b73 (patch) | |
tree | c301b9696ebec6bb371373d3dda71c00420eae6e /setup/mainmenu.c | |
parent | cef6abcea6218c9638ba67edca9755f7d3fa359f (diff) | |
download | chocolate-doom-decc0a876f8fa1c3cd8fef6307809c6617933b73.tar.gz chocolate-doom-decc0a876f8fa1c3cd8fef6307809c6617933b73.tar.bz2 chocolate-doom-decc0a876f8fa1c3cd8fef6307809c6617933b73.zip |
Add a fake nonfunctional key bindings configuration menu.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 561
Diffstat (limited to 'setup/mainmenu.c')
-rw-r--r-- | setup/mainmenu.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/setup/mainmenu.c b/setup/mainmenu.c index 6617060b..4fbea079 100644 --- a/setup/mainmenu.c +++ b/setup/mainmenu.c @@ -45,6 +45,7 @@ void QuitConfirm(void *unused1, void *unused2) TXT_SignalConnect(button, "pressed", DoQuit, NULL); } +extern void ConfigDisplay(); extern void ConfigKeyboard(); void MainMenu(void) @@ -54,10 +55,15 @@ void MainMenu(void) txt_button_t *button; window = TXT_NewWindow("Main Menu"); - TXT_AddWidget(window, TXT_NewButton("Configure display")); + + button = TXT_NewButton("Configure display"); + TXT_AddWidget(window, button); + TXT_SignalConnect(button, "pressed", ConfigDisplay, NULL); + button = TXT_NewButton("Configure keyboard"); TXT_AddWidget(window, button); TXT_SignalConnect(button, "pressed", ConfigKeyboard, NULL); + TXT_AddWidget(window, TXT_NewButton("Configure mouse")); TXT_AddWidget(window, TXT_NewButton("Save parameters and launch DOOM")); TXT_AddWidget(window, TXT_NewStrut(0, 1)); |