diff options
Diffstat (limited to 'assets/ui')
-rw-r--r-- | assets/ui/say.menu | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/assets/ui/say.menu b/assets/ui/say.menu index 77204a1b..a52f2eda 100644 --- a/assets/ui/say.menu +++ b/assets/ui/say.menu @@ -39,6 +39,10 @@ textscale .4 forecolor 0.93 0.93 0.92 1 visible MENU_TRUE + onCharEntry + { + uiScript SayKeyDown; + } onTextEntry { uiScript Say; @@ -77,6 +81,10 @@ textscale .4 forecolor 0.93 0.93 0.92 1 visible MENU_TRUE + onCharEntry + { + uiScript SayKeyDown; + } onTextEntry { uiScript Say; @@ -84,4 +92,46 @@ } } } + + // Command + menuDef + { + name say_command + fullScreen MENU_FALSE + visible MENU_FALSE + rect X Y W H + aspectBias ALIGN_LEFT + focusColor 1 1 1 1 + style WINDOW_STYLE_EMPTY + onOpen + { + setfocus say_field + } + + itemDef + { + name say_field + type ITEM_TYPE_SAYFIELD + style WINDOW_STYLE_EMPTY + text "Command:" + cvar "ui_sayBuffer" + maxchars 128 + rect 0 0 W H + textalign ALIGN_LEFT + textvalign VALIGN_CENTER + textstyle ITEM_TEXTSTYLE_SHADOWED + textscale .4 + forecolor 0.93 0.93 0.92 1 + visible MENU_TRUE + onCharEntry + { + uiScript SayKeyDown; + } + onTextEntry + { + uiScript Say; + close say_command; + } + } + } } |