aboutsummaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authorJames Brown2002-07-04 12:58:36 +0000
committerJames Brown2002-07-04 12:58:36 +0000
commite8d21d7b575b1db02ba1238f4107c56fd3adbabe (patch)
tree48aae4043a347bc75851af7f5d19cc6343919ecd /gui.h
parent46a41881355aa5a0ddc5a1d94a278567bc2fd647 (diff)
downloadscummvm-rg350-e8d21d7b575b1db02ba1238f4107c56fd3adbabe.tar.gz
scummvm-rg350-e8d21d7b575b1db02ba1238f4107c56fd3adbabe.tar.bz2
scummvm-rg350-e8d21d7b575b1db02ba1238f4107c56fd3adbabe.zip
Add chuzwuzzas many gui improvements.
- Hotkeys - Checkboxes - length fixes - New 'Misc' page svn-id: r4458
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui.h b/gui.h
index 9805c2ce3e..31ea339c9f 100644
--- a/gui.h
+++ b/gui.h
@@ -70,6 +70,10 @@ protected:
// optiondialog specifics
int _gui_variables[100];
+ // checkboxes
+ bool _cbox_checked[100];
+ const char *_cbox_cfg_key[100];
+
// savedialog specifics
int _slotIndex;
int _editString;
@@ -103,6 +107,10 @@ protected:
void addLetter(byte letter);
void queryMessage(const char *msg, const char *alts);
byte getDefaultColor(int color);
+ bool getCheckboxChecked(int id);
+ void setCheckbox(bool state, int id);
+ void clearCheckboxes();
+ void checkHotKey(int keycode);
char _gui_scroller[255];
@@ -110,5 +118,6 @@ protected:
void handleOptionsDialogCommand(int cmd);
void handleKeysDialogCommand(int cmd);
void handleLauncherDialogCommand(int cmd);
+ void handleMiscDialogCommand(int cmd);
};
#endif