From ed3a99c42a9173e456620a63a91acb635d3ed94c Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:35:04 +0000 Subject: * Fix text alignment of UI items that display cvar contents * (bug 3952) display winning team string at the bottom of the scoreboard after a game * Prevent users from changing some ui communication cvars --- ui/teamscore.menu | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ui') diff --git a/ui/teamscore.menu b/ui/teamscore.menu index eac8f1f5..27528ea1 100644 --- a/ui/teamscore.menu +++ b/ui/teamscore.menu @@ -356,5 +356,19 @@ ownerdraw CG_SPECTATORS decoration } + + itemDef + { + name winner + rect (W/2) (H+BAR_H) 0 0 + style WINDOW_STYLE_EMPTY + forecolor 1 1 1 1 + textscale 0.5 + textalign ALIGN_CENTER + textvalign VALIGN_TOP + visible MENU_TRUE + cvar "ui_winner" + decoration + } } } -- cgit