From 666a95b2e318078d67d1913796f190386330dba3 Mon Sep 17 00:00:00 2001 From: xCape Date: Sat, 29 Oct 2022 14:03:23 +0300 Subject: [PATCH] Transparency --- resource/ui/mainmenuoverride.res | 212 +++++++++++++++---------------- 1 file changed, 106 insertions(+), 106 deletions(-) diff --git a/resource/ui/mainmenuoverride.res b/resource/ui/mainmenuoverride.res index 1d451a8..8741eb3 100644 --- a/resource/ui/mainmenuoverride.res +++ b/resource/ui/mainmenuoverride.res @@ -2282,112 +2282,112 @@ "pin_corner_to_sibling" "0" "pin_to_sibling_corner" "1" } - "TransparentViewmodelsButtonOn" - { - "ControlName" "CExImageButton" - "fieldName" "TransparentViewmodelsButtonOn" - "xpos" "4" - "ypos" "0" - "wide" "25" - "tall" "25" - "zpos" "26" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "textinsetx" "4" - "textinsety" "-6" - "use_proportional_insets" "1" - "font" "product8" - "textAlignment" "south-west" - "dulltext" "0" - "brighttext" "0" - "labeltext" "" - "default" "1" - "command" "engine exec enable_transparency.cfg" - "proportionaltoparent" "1" - "fgcolor_override" "245 245 245 60" - "defaultfgcolor_override" "245 245 245 60" - "armedfgcolor_override" "245 245 245 160" - "armedbgcolor_override" "255 255 255 16" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - "paintbackground" "1" - "image_drawcolor" "245 245 245 60" - "image_armedcolor" "245 245 245 200" - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "cs-0.5" - "ypos" "cs-0.5" - "zpos" "1" - "wide" "16" - "tall" "16" - "visible" "1" - "enabled" "1" - "image" "replay/thumbnails/softicons/tr-on" - "scaleImage" "1" - "proportionaltoparent" "1" - } - "pin_to_sibling" "RetryButton" - "pin_corner_to_sibling" "0" - "pin_to_sibling_corner" "1" - } - "TransparentViewmodelsButtonOff" - { - "ControlName" "CExImageButton" - "fieldName" "TransparentViewmodelsButtonOff" - "xpos" "4" - "ypos" "0" - "wide" "25" - "tall" "25" - "zpos" "26" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "textinsetx" "4" - "textinsety" "-6" - "use_proportional_insets" "1" - "font" "product8" - "textAlignment" "south-west" - "dulltext" "0" - "brighttext" "0" - "labeltext" "" - "default" "1" - "command" "engine exec disable_transparency.cfg" - "proportionaltoparent" "1" - "fgcolor_override" "245 245 245 60" - "defaultfgcolor_override" "245 245 245 60" - "armedfgcolor_override" "245 245 245 160" - "armedbgcolor_override" "255 255 255 16" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - "paintbackground" "1" - "image_drawcolor" "245 245 245 60" - "image_armedcolor" "245 245 245 200" - "SubImage" - { - "ControlName" "ImagePanel" - "fieldName" "SubImage" - "xpos" "cs-0.5" - "ypos" "cs-0.5" - "zpos" "1" - "wide" "16" - "tall" "16" - "visible" "1" - "enabled" "1" - "image" "replay/thumbnails/softicons/tr-off" - "scaleImage" "1" - "proportionaltoparent" "1" - } - "pin_to_sibling" "TransparentViewmodelsButtonOn" - "pin_corner_to_sibling" "0" - "pin_to_sibling_corner" "1" - } +// "TransparentViewmodelsButtonOn" +// { +// "ControlName" "CExImageButton" +// "fieldName" "TransparentViewmodelsButtonOn" +// "xpos" "4" +// "ypos" "0" +// "wide" "25" +// "tall" "25" +// "zpos" "26" +// "autoResize" "0" +// "pinCorner" "3" +// "visible" "1" +// "enabled" "1" +// "tabPosition" "0" +// "textinsetx" "4" +// "textinsety" "-6" +// "use_proportional_insets" "1" +// "font" "product8" +// "textAlignment" "south-west" +// "dulltext" "0" +// "brighttext" "0" +// "labeltext" "" +// "default" "1" +// "command" "engine exec enable_transparency.cfg" +// "proportionaltoparent" "1" +// "fgcolor_override" "245 245 245 60" +// "defaultfgcolor_override" "245 245 245 60" +// "armedfgcolor_override" "245 245 245 160" +// "armedbgcolor_override" "255 255 255 16" +// "sound_depressed" "UI/buttonclick.wav" +// "sound_released" "UI/buttonclickrelease.wav" +// "paintbackground" "1" +// "image_drawcolor" "245 245 245 60" +// "image_armedcolor" "245 245 245 200" +// "SubImage" +// { +// "ControlName" "ImagePanel" +// "fieldName" "SubImage" +// "xpos" "cs-0.5" +// "ypos" "cs-0.5" +// "zpos" "1" +// "wide" "16" +// "tall" "16" +// "visible" "1" +// "enabled" "1" +// "image" "replay/thumbnails/softicons/tr-on" +// "scaleImage" "1" +// "proportionaltoparent" "1" +// } +// "pin_to_sibling" "RetryButton" +// "pin_corner_to_sibling" "0" +// "pin_to_sibling_corner" "1" +// } +// "TransparentViewmodelsButtonOff" +// { +// "ControlName" "CExImageButton" +// "fieldName" "TransparentViewmodelsButtonOff" +// "xpos" "4" +// "ypos" "0" +// "wide" "25" +// "tall" "25" +// "zpos" "26" +// "autoResize" "0" +// "pinCorner" "3" +// "visible" "1" +// "enabled" "1" +// "tabPosition" "0" +// "textinsetx" "4" +// "textinsety" "-6" +// "use_proportional_insets" "1" +// "font" "product8" +// "textAlignment" "south-west" +// "dulltext" "0" +// "brighttext" "0" +// "labeltext" "" +// "default" "1" +// "command" "engine exec disable_transparency.cfg" +// "proportionaltoparent" "1" +// "fgcolor_override" "245 245 245 60" +// "defaultfgcolor_override" "245 245 245 60" +// "armedfgcolor_override" "245 245 245 160" +// "armedbgcolor_override" "255 255 255 16" +// "sound_depressed" "UI/buttonclick.wav" +// "sound_released" "UI/buttonclickrelease.wav" +// "paintbackground" "1" +// "image_drawcolor" "245 245 245 60" +// "image_armedcolor" "245 245 245 200" +// "SubImage" +// { +// "ControlName" "ImagePanel" +// "fieldName" "SubImage" +// "xpos" "cs-0.5" +// "ypos" "cs-0.5" +// "zpos" "1" +// "wide" "16" +// "tall" "16" +// "visible" "1" +// "enabled" "1" +// "image" "replay/thumbnails/softicons/tr-off" +// "scaleImage" "1" +// "proportionaltoparent" "1" +// } +// "pin_to_sibling" "TransparentViewmodelsButtonOn" +// "pin_corner_to_sibling" "0" +// "pin_to_sibling_corner" "1" +// } "DisconnectButton" { "ControlName" "CExImageButton"