summaryrefslogtreecommitdiff
path: root/source/ui_local.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-05-10 16:15:57 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-05-10 16:15:57 +0000
commit98c3c29c4f106c98bac64c882c8255f977a3980a (patch)
tree24158ccc8af8721e1fd92b1069e0458ebfaa655e /source/ui_local.h
parent1f71b2b7cb486c1f3fd5b69c814a234460471414 (diff)
Added `field', `strings', `blank' menu control types.
Diffstat (limited to 'source/ui_local.h')
-rw-r--r--source/ui_local.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/ui_local.h b/source/ui_local.h
index 7c1cf3d..65b85e2 100644
--- a/source/ui_local.h
+++ b/source/ui_local.h
@@ -44,6 +44,8 @@ typedef enum {
MTYPE_FIELD,
MTYPE_BITFIELD,
MTYPE_PAIRS,
+ MTYPE_STRINGS,
+ MTYPE_VALUES,
MTYPE_TOGGLE,
MTYPE_STATIC,
MTYPE_KEYBIND
@@ -107,6 +109,7 @@ typedef struct menuCommon_s {
menuFrameWork_t *parent;
color_t color;
vrect_t rect;
+ char *status;
int x, y;
int width, height;
@@ -123,6 +126,8 @@ typedef struct menuCommon_s {
typedef struct menuField_s {
menuCommon_t generic;
inputField_t field;
+ cvar_t *cvar;
+ int width;
} menuField_t;
typedef struct menuSlider_s {
@@ -232,6 +237,7 @@ void PlayerModel_Free( void );
#define MAX_MENU_DEPTH 8
typedef struct uiStatic_s {
+ qboolean initialized;
int realtime;
glconfig_t glconfig;
clipRect_t clipRect;