diff options
author | Jeff Kent <jeff@jkent.net> | 2017-04-13 11:30:00 +0000 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:24:15 +0200 |
commit | 9edb8f8a9eb94ca6150a13900716750a710a74bc (patch) | |
tree | 132bcf00fa387c12c260099c81fba7bda9dbbeb8 /src/ui/menudef.h | |
parent | 6d4cacd5ad49d654e99c458f5002c70732c9e0a6 (diff) |
multi-protocol: implement messagemode[2] in the ui module, for use in non-1.1 clients
Diffstat (limited to 'src/ui/menudef.h')
-rw-r--r-- | src/ui/menudef.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/ui/menudef.h b/src/ui/menudef.h index d4ed0b2..dbd0996 100644 --- a/src/ui/menudef.h +++ b/src/ui/menudef.h @@ -4,15 +4,16 @@ #define ITEM_TYPE_RADIOBUTTON 2 // toggle button, may be grouped #define ITEM_TYPE_CHECKBOX 3 // check box #define ITEM_TYPE_EDITFIELD 4 // editable text, associated with a cvar -#define ITEM_TYPE_COMBO 5 // drop down list -#define ITEM_TYPE_LISTBOX 6 // scrollable list -#define ITEM_TYPE_MODEL 7 // model -#define ITEM_TYPE_OWNERDRAW 8 // owner draw, name specs what it is -#define ITEM_TYPE_NUMERICFIELD 9 // editable text, associated with a cvar -#define ITEM_TYPE_SLIDER 10 // mouse speed, volume, etc. -#define ITEM_TYPE_YESNO 11 // yes no cvar setting -#define ITEM_TYPE_MULTI 12 // multiple list setting, enumerated -#define ITEM_TYPE_BIND 13 // multiple list setting, enumerated +#define ITEM_TYPE_SAYFIELD 5 // the chat field +#define ITEM_TYPE_COMBO 6 // drop down list +#define ITEM_TYPE_LISTBOX 7 // scrollable list +#define ITEM_TYPE_MODEL 8 // model +#define ITEM_TYPE_OWNERDRAW 9 // owner draw, name specs what it is +#define ITEM_TYPE_NUMERICFIELD 10 // editable text, associated with a cvar +#define ITEM_TYPE_SLIDER 11 // mouse speed, volume, etc. +#define ITEM_TYPE_YESNO 12 // yes no cvar setting +#define ITEM_TYPE_MULTI 13 // multiple list setting, enumerated +#define ITEM_TYPE_BIND 14 // multiple list setting, enumerated #define ITEM_ALIGN_LEFT 0 // left alignment #define ITEM_ALIGN_CENTER 1 // center alignment |