From 24734eb5cfedeeded9c0dfc7e96d30063fe3dad5 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sun, 11 Apr 2010 03:48:09 +0000 Subject: * Fix the fact that teamoverlay was being drawn above where the hud told it to be, and it wasn't respecting the right-side bbox either. Make it valign in the center of its bbox. * Align columns of teamoverlay and pad/truncate where necessary * Default/GPP HUD: Move cg_tutorial down a little bit and also make it valign center. * Default/GPP HUD: Move teamoverlay down a little bit and set the scale to 0.85 --- assets/ui/tremulous_alien_common_hud.h | 4 ++-- assets/ui/tremulous_common_hud.h | 4 ++-- assets/ui/tremulous_human_hud.menu | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'assets') diff --git a/assets/ui/tremulous_alien_common_hud.h b/assets/ui/tremulous_alien_common_hud.h index 8f06a153..8f667ceb 100644 --- a/assets/ui/tremulous_alien_common_hud.h +++ b/assets/ui/tremulous_alien_common_hud.h @@ -263,11 +263,11 @@ itemDef itemDef { name "teamoverlay" - rect BORDER 120 160 128 + rect BORDER 175 200 128 style WINDOW_STYLE_EMPTY visible MENU_TRUE decoration forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.75 - textscale 1.0 + textscale 0.85 ownerdraw CG_TEAMOVERLAY } diff --git a/assets/ui/tremulous_common_hud.h b/assets/ui/tremulous_common_hud.h index 49d4a393..e78ea9f9 100644 --- a/assets/ui/tremulous_common_hud.h +++ b/assets/ui/tremulous_common_hud.h @@ -29,14 +29,14 @@ itemDef itemDef { name "tutorial" - rect BORDER 250 MAIN_W 180 + rect BORDER 275 MAIN_W 130 aspectBias ALIGN_LEFT style WINDOW_STYLE_EMPTY visible MENU_TRUE decoration forecolor 1 1 1 0.35 textalign ALIGN_LEFT - textvalign VALIGN_TOP + textvalign VALIGN_CENTER textscale 0.3 textstyle ITEM_TEXTSTYLE_NORMAL ownerdraw CG_TUTORIAL diff --git a/assets/ui/tremulous_human_hud.menu b/assets/ui/tremulous_human_hud.menu index 707fb7b6..2fc3ba4c 100644 --- a/assets/ui/tremulous_human_hud.menu +++ b/assets/ui/tremulous_human_hud.menu @@ -383,12 +383,12 @@ itemDef { name "teamoverlay" - rect BORDER 120 160 128 + rect BORDER 175 200 128 style WINDOW_STYLE_EMPTY visible MENU_TRUE decoration forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.75 - textscale 1.0 + textscale 0.85 ownerdraw CG_TEAMOVERLAY } } -- cgit