From 1e8419a4c18e65f6c77948d42dfa155502b71e8b Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 28 Oct 2009 22:36:05 +0000 Subject: * Add ITEM_TYPE_SAYFIELD which is like ITEM_TYPE_EDITFIELD but with different focus behaviour --- assets/ui/menudef.h | 1 + assets/ui/say.menu | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'assets') 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" -- cgit