From a62a5dc9251d984aa7d6a34a863631b1c7557833 Mon Sep 17 00:00:00 2001 From: Ian Bruton Date: Wed, 31 Oct 2012 00:51:05 -0500 Subject: Added in a button on the main menu to toggle the scoreboards. --- resource/ui/MainMenuOverride.res | 81 ++++++++++++++++++++++++++++++++-------- 1 file changed, 65 insertions(+), 16 deletions(-) (limited to 'resource/ui') diff --git a/resource/ui/MainMenuOverride.res b/resource/ui/MainMenuOverride.res index 1b50a21..782949b 100644 --- a/resource/ui/MainMenuOverride.res +++ b/resource/ui/MainMenuOverride.res @@ -1005,7 +1005,7 @@ "xpos" "25" "ypos" "202" "zpos" "11" - "wide" "200" + "wide" "75" "tall" "16" "visible" "1" "PaintBackgroundType" "2" @@ -1065,7 +1065,7 @@ "xpos" "25" "ypos" "290" "zpos" "11" - "wide" "200" + "wide" "75" "tall" "16" "visible" "1" "PaintBackgroundType" "2" @@ -1124,7 +1124,7 @@ "xpos" "25" "ypos" "308" "zpos" "11" - "wide" "200" + "wide" "75" "tall" "16" "visible" "1" "PaintBackgroundType" "2" @@ -1184,7 +1184,7 @@ "xpos" "25" "ypos" "236" "zpos" "11" - "wide" "200" + "wide" "75" "tall" "16" "visible" "1" "PaintBackgroundType" "2" @@ -1194,7 +1194,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "75" "tall" "16" "autoResize" "0" "pinCorner" "3" @@ -1243,7 +1243,7 @@ "xpos" "25" "ypos" "254" "zpos" "11" - "wide" "200" + "wide" "75" "tall" "16" "visible" "1" "PaintBackgroundType" "2" @@ -1253,7 +1253,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "75" "tall" "16" "autoResize" "0" "pinCorner" "3" @@ -1499,7 +1499,7 @@ "use_proportional_insets" "1" "font" "CerbeticaBold20" "textAlignment" "center" - "labelText" "rayshud v2.71" + "labelText" "rayshud v2.72" "dulltext" "0" "brighttext" "0" "default" "1" @@ -2118,7 +2118,7 @@ "ControlName" "CExImageButton" "fieldName" "NewUserForumsButton" "xpos" "79" - "ypos" "436" + "ypos" "441" "zpos" "2" "wide" "24" "tall" "18" @@ -2162,7 +2162,7 @@ "ControlName" "CExImageButton" "fieldName" "AchievementsButton" "xpos" "99" - "ypos" "436" + "ypos" "441" "zpos" "3" "wide" "24" "tall" "18" @@ -2206,7 +2206,7 @@ "ControlName" "CExImageButton" "fieldName" "CommentaryButton" "xpos" "121" - "ypos" "436" + "ypos" "441" "zpos" "4" "wide" "24" "tall" "18" @@ -2253,7 +2253,7 @@ "ControlName" "CExImageButton" "fieldName" "CoachPlayersButton" "xpos" "141" - "ypos" "436" + "ypos" "441" "zpos" "5" "wide" "24" "tall" "18" @@ -2297,7 +2297,7 @@ "ControlName" "CExImageButton" "fieldName" "ReportBugButton" "xpos" "161" - "ypos" "436" + "ypos" "441" "zpos" "1" "wide" "24" "tall" "18" @@ -2431,14 +2431,63 @@ "scaleImage" "1" "image" "glyph_options" } - } + } + + "ScoreboardToggle" + { + "ControlName" "CExImageButton" + "fieldName" "ScoreboardToggle" + "xpos" "15" + "ypos" "380" + "zpos" "1" + "wide" "200" + "tall" "16" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "Switch Scoreboards" + "font" "CerbeticaBold16" + "textAlignment" "west" + "textinsetx" "35" + "use_proportional_insets" "1" + "dulltext" "0" + "brighttext" "0" + "default" "1" + "paintbackground""0" + "Command" "engine incrementvar cl_hud_minmode 0 1 1" + + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "72 255 255 255" + "depressedFgColor_override" "72 255 255 255" + + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + + "image_drawcolor" "235 226 202 255" + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "16" + "ypos" "6" + "zpos" "1" + "wide" "0" + "tall" "0" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + "image" "glyph_options" + } + } "QuitButton" { "ControlName" "CExImageButton" "fieldName" "QuitButton" "xpos" "13" - "ypos" "398" + "ypos" "416" "zpos" "1" "wide" "200" "tall" "16" @@ -2488,7 +2537,7 @@ "ControlName" "CExImageButton" "fieldName" "DisconnectButton" "xpos" "13" - "ypos" "398" + "ypos" "416" "zpos" "1" "wide" "200" "tall" "16" -- cgit v1.2.3