From b5f72ccd69fcaec0fbc8af3d9b25089ed7d6c6d7 Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Sat, 9 Mar 2019 16:08:53 -0500 Subject: Updated HUD Files - Updated colors to use the schema instead of RGB codes - Removed unused or redundant code - Added shadows to certain elements - Corrected element names, reorganized some files - Pinned some elements to their parent elements - Fixed elements referencing non-existing colors or fonts --- resource/ui/econ/ConfirmDialogAbandonPenalty.res | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'resource/ui/econ/ConfirmDialogAbandonPenalty.res') diff --git a/resource/ui/econ/ConfirmDialogAbandonPenalty.res b/resource/ui/econ/ConfirmDialogAbandonPenalty.res index 2386a02..e1e2416 100644 --- a/resource/ui/econ/ConfirmDialogAbandonPenalty.res +++ b/resource/ui/econ/ConfirmDialogAbandonPenalty.res @@ -36,7 +36,7 @@ "pinCorner" "0" "visible" "1" "enabled" "1" - "fgcolor_override" "Base Color" + "fgcolor_override" "ColorCyan" } "AbandonIcon" @@ -70,7 +70,7 @@ "visible" "1" "enabled" "1" "wrap" "1" - "fgcolor_override" "Base Color" + "fgcolor_override" "ColorCyan" } "CancelButton" { @@ -87,7 +87,7 @@ "enabled" "1" "tabPosition" "0" "labelText" "#GameUI_CancelBold" - "font" "DfButton" + "font" "HudFontSmall" "textAlignment" "center" "textinsetx" "50" "dulltext" "0" @@ -95,13 +95,6 @@ "Command" "cancel" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - "paintbackground" "1" - "defaultBgColor_override" "15 15 15 255" - "armedBgColor_override" "25 25 25 255" - "depressedBgColor_override" "25 25 25 255" - "defaultFgColor_override" "TanLight" - "armedFgColor_override" "TanLight" - "depressedFgColor_override" "TanLight" "border_default" "ButtonHover" "border_armed" "ButtonHover" } @@ -122,7 +115,7 @@ "enabled" "1" "tabPosition" "0" "labelText" "#ConfirmButtonText" - "font" "DfButton" + "font" "HudFontSmall" "textAlignment" "center" "textinsetx" "50" "dulltext" "0" @@ -130,13 +123,6 @@ "Command" "confirm" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - "paintbackground" "1" - "defaultBgColor_override" "15 15 15 255" - "armedBgColor_override" "25 25 25 255" - "depressedBgColor_override" "25 25 25 255" - "defaultFgColor_override" "TanLight" - "armedFgColor_override" "TanLight" - "depressedFgColor_override" "TanLight" "border_default" "ButtonHover" "border_armed" "ButtonHover" } -- cgit v1.2.3 From eb9e3bf73092500579d32f998fce70fa265e6d1c Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Sat, 9 Mar 2019 16:17:28 -0500 Subject: Code Formatting --- resource/ui/econ/ConfirmDialogAbandonPenalty.res | 210 +++++++++++------------ 1 file changed, 105 insertions(+), 105 deletions(-) (limited to 'resource/ui/econ/ConfirmDialogAbandonPenalty.res') diff --git a/resource/ui/econ/ConfirmDialogAbandonPenalty.res b/resource/ui/econ/ConfirmDialogAbandonPenalty.res index e1e2416..3199cf7 100644 --- a/resource/ui/econ/ConfirmDialogAbandonPenalty.res +++ b/resource/ui/econ/ConfirmDialogAbandonPenalty.res @@ -2,128 +2,128 @@ { "ConfirmDialog" { - "ControlName" "Frame" - "fieldName" "ConfirmDialog" - "xpos" "c-150" - "ypos" "140" - "wide" "300" - "tall" "200" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "tabPosition" "0" + "ControlName" "Frame" + "fieldName" "ConfirmDialog" + "xpos" "c-150" + "ypos" "140" + "wide" "300" + "tall" "200" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" "settitlebarvisible" "0" "paintborder" "2" "paintbackground" "1" "border" "CyanBorderThick" "bgcolor_override" "25 25 25 255" - } - + } + "TitleLabel" { - "ControlName" "CExLabel" - "fieldName" "TitleLabel" - "font" "Cerbetica32" - "labelText" "#ConfirmTitle" - "textAlignment" "north" - "xpos" "0" - "ypos" "15" - "zpos" "1" - "wide" "300" - "tall" "20" - "autoResize" "1" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "fgcolor_override" "ColorCyan" + "ControlName" "CExLabel" + "fieldName" "TitleLabel" + "font" "Cerbetica32" + "labelText" "#ConfirmTitle" + "textAlignment" "north" + "xpos" "0" + "ypos" "15" + "zpos" "1" + "wide" "300" + "tall" "20" + "autoResize" "1" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fgcolor_override" "ColorCyan" } - + "AbandonIcon" { - "ControlName" "ImagePanel" - "fieldName" "AbandonIcon" - "xpos" "10" - "ypos" "52" - "wide" "40" - "tall" "40" - "image" "pve/mvm_timeout_active_large" - "visible" "1" - "enabled" "1" - "scaleImage" "1" + "ControlName" "ImagePanel" + "fieldName" "AbandonIcon" + "xpos" "10" + "ypos" "52" + "wide" "40" + "tall" "40" + "image" "pve/mvm_timeout_active_large" + "visible" "1" + "enabled" "1" + "scaleImage" "1" } - + "ExplanationLabel" { - "ControlName" "CExLabel" - "fieldName" "ExplanationLabel" - "font" "EconFontSmall" - "labelText" "%text%" - "textAlignment" "north-west" - "xpos" "60" - "ypos" "50" - "zpos" "1" - "wide" "220" - "tall" "170" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "wrap" "1" - "fgcolor_override" "ColorCyan" + "ControlName" "CExLabel" + "fieldName" "ExplanationLabel" + "font" "EconFontSmall" + "labelText" "%text%" + "textAlignment" "north-west" + "xpos" "60" + "ypos" "50" + "zpos" "1" + "wide" "220" + "tall" "170" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "1" + "fgcolor_override" "ColorCyan" } "CancelButton" { - "ControlName" "CExButton" - "fieldName" "CancelButton" - "xpos" "165" - "ypos" "165" - "zpos" "20" - "wide" "125" - "tall" "25" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labelText" "#GameUI_CancelBold" - "font" "HudFontSmall" - "textAlignment" "center" - "textinsetx" "50" - "dulltext" "0" - "brighttext" "0" - "Command" "cancel" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - "border_default" "ButtonHover" - "border_armed" "ButtonHover" + "ControlName" "CExButton" + "fieldName" "CancelButton" + "xpos" "165" + "ypos" "165" + "zpos" "20" + "wide" "125" + "tall" "25" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#GameUI_CancelBold" + "font" "HudFontSmall" + "textAlignment" "center" + "textinsetx" "50" + "dulltext" "0" + "brighttext" "0" + "Command" "cancel" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "border_default" "ButtonHover" + "border_armed" "ButtonHover" } - + "ConfirmButton" { - "ControlName" "CExButton" - "fieldName" "ConfirmButton" - "xpos" "10" - "ypos" "165" - "zpos" "20" - "wide" "125" - "tall" "25" - "default" "1" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labelText" "#ConfirmButtonText" - "font" "HudFontSmall" - "textAlignment" "center" - "textinsetx" "50" - "dulltext" "0" - "brighttext" "0" - "Command" "confirm" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - "border_default" "ButtonHover" - "border_armed" "ButtonHover" - } + "ControlName" "CExButton" + "fieldName" "ConfirmButton" + "xpos" "10" + "ypos" "165" + "zpos" "20" + "wide" "125" + "tall" "25" + "default" "1" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#ConfirmButtonText" + "font" "HudFontSmall" + "textAlignment" "center" + "textinsetx" "50" + "dulltext" "0" + "brighttext" "0" + "Command" "confirm" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "border_default" "ButtonHover" + "border_armed" "ButtonHover" + } } \ No newline at end of file -- cgit v1.2.3