diff options
author | Tim Angus <tim@ngus.net> | 2009-10-28 22:36:05 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:13 +0000 |
commit | 1e8419a4c18e65f6c77948d42dfa155502b71e8b (patch) | |
tree | 1c57b4977a421f8395545e7cb93346d1190a8adb /assets | |
parent | 0338b45d8440191cabb83a40fbe97b06a4749cc1 (diff) |
* Add ITEM_TYPE_SAYFIELD which is like ITEM_TYPE_EDITFIELD but with different focus behaviour
Diffstat (limited to 'assets')
-rw-r--r-- | assets/ui/menudef.h | 1 | ||||
-rw-r--r-- | assets/ui/say.menu | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/ui/menudef.h b/assets/ui/menudef.h index 7e5074f7..49792096 100644 --- a/assets/ui/menudef.h +++ b/assets/ui/menudef.h @@ -10,6 +10,7 @@ enum ITEM_TYPE_RADIOBUTTON, // toggle button, may be grouped ITEM_TYPE_CHECKBOX, // check box ITEM_TYPE_EDITFIELD, // editable text, associated with a cvar + ITEM_TYPE_SAYFIELD, // the chat field ITEM_TYPE_COMBO, // drop down list ITEM_TYPE_LISTBOX, // scrollable list ITEM_TYPE_MODEL, // model diff --git a/assets/ui/say.menu b/assets/ui/say.menu index 1dd2380b..77204a1b 100644 --- a/assets/ui/say.menu +++ b/assets/ui/say.menu @@ -27,7 +27,7 @@ itemDef { name say_field - type ITEM_TYPE_EDITFIELD + type ITEM_TYPE_SAYFIELD style WINDOW_STYLE_EMPTY text "Say:" cvar "ui_sayBuffer" @@ -65,7 +65,7 @@ itemDef { name say_field - type ITEM_TYPE_EDITFIELD + type ITEM_TYPE_SAYFIELD style WINDOW_STYLE_EMPTY text "Say to team:" cvar "ui_sayBuffer" |