diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 12:35:04 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:05 +0000 |
commit | ed3a99c42a9173e456620a63a91acb635d3ed94c (patch) | |
tree | 4842c5116e7a91c8b42cc4b4d15d102dacbc63ba /ui/teamscore.menu | |
parent | 8bb863e005db6faf45e545a16ed66d552366d55f (diff) |
* 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
Diffstat (limited to 'ui/teamscore.menu')
-rw-r--r-- | ui/teamscore.menu | 14 |
1 files changed, 14 insertions, 0 deletions
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 + } } } |