diff options
Diffstat (limited to 'minmode')
| -rw-r--r-- | minmode/resource/ui/MainMenuOverride.res | 176 | ||||
| -rw-r--r-- | minmode/resource/ui/TFAdvancedOptionsDialog.res | 2 | ||||
| -rw-r--r-- | minmode/resource/ui/quickplaydialog.res | 6 | ||||
| -rw-r--r-- | minmode/resource/ui/streamlistpanel.res | 212 | ||||
| -rw-r--r-- | minmode/resource/ui/streampanel.res | 166 |
5 files changed, 519 insertions, 43 deletions
diff --git a/minmode/resource/ui/MainMenuOverride.res b/minmode/resource/ui/MainMenuOverride.res index fbdd4b5..a739aa8 100644 --- a/minmode/resource/ui/MainMenuOverride.res +++ b/minmode/resource/ui/MainMenuOverride.res @@ -255,7 +255,7 @@ "xpos" "75" "ypos" "90" "zpos" "0" - "wide" "200" + "wide" "220" "tall" "25" "autoResize" "0" "pinCorner" "0" @@ -317,7 +317,7 @@ "fieldName" "UsernameBG" "xpos" "75" "ypos" "118" - "wide" "200" + "wide" "220" "tall" "42" "autoResize" "0" "pinCorner" "0" @@ -366,7 +366,7 @@ "xpos" "120" "ypos" "130" "zpos" "99" - "wide" "150" + "wide" "170" "tall" "20" "autoResize" "0" "pinCorner" "0" @@ -538,6 +538,102 @@ } } } + "WatchStreamButton" + { + "ControlName" "EditablePanel" + "fieldName" "WatchStreamButton" + "xpos" "275" + "ypos" "90" + "zpos" "1" + "wide" "32" + "tall" "32" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + + "navUp" "Notifications_Panel" + "navLeft" "SettingsButton" + + "SubButton" + { + "ControlName" "CExImageButton" + "fieldName" "SubButton" + "xpos" "-3" + "ypos" "0" + "wide" "24" + "zpos" "5" + "tall" "24" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "R" + "font" "Multimedia16" + "command" "watch_stream" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "default" "1" + + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + + "actionsignallevel" "2" + "proportionaltoparent" "1" + + "paintbackground" "0" + "paintborder" "0" + + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "Button Color" + "depressedFgColor_override" "Button Color" + + "image_drawcolor" "235 226 202 255" + "image_armedcolor" "72 255 255 255" + + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "cs-0.5" + "ypos" "cs-0.5" + "zpos" "1" + "wide" "f0" + "tall" "f0" + "visible" "0" + "enabled" "0" + "scaleImage" "1" + "image" "button_quests" + + "proportionaltoparent" "1" + "mouseinputenabled" "0" + "keyboardinputenabled" "0" + } + } + } + + "StreamListPanel" + { + "ControlName" "CTFStreamListPanel" + "fieldName" "StreamListPanel" + "xpos" "300" + "ypos" "90" + "zpos" "1" + "wide" "300" + "tall" "325" + "visible" "0" + "PaintBackgroundType" "0" + "paintbackground" "2" + "bgcolor_override" "25 25 25 230" + + "border" "NoBorde" + + "navDown" "SettingsButton" // when a sub element can't nav down it will pass through this + "navLeft" "WatchStreamButton" // when a sub element can't nav left it will pass through this + } "MOTD_ShowButtonPanel" { @@ -605,16 +701,16 @@ { "ControlName" "EditablePanel" "fieldName" "MOTD_Panel" - "xpos" "c0" - "ypos" "63" + "xpos" "300" + "ypos" "90" "zpos" "1" "wide" "300" "tall" "360" "visible" "0" "PaintBackgroundType" "2" "paintbackground" "1" - "border" "CyanBorderThick" - "bgcolor_override" "25 25 25 255" + "border" "NoBorder" + "bgcolor_override" "25 25 25 230" "MOTD_HeaderContainer" { @@ -630,7 +726,7 @@ { "ControlName" "CExLabel" "fieldName" "MOTD_HeaderLabel" - "font" "CerbeticaBold24" + "font" "HudFontSmallBold" "textAlignment" "center" "labelText" "%motdheader%" "xpos" "0" @@ -642,6 +738,7 @@ "visible" "1" "enabled" "1" "fgcolor_override" "TanLight" + "bgcolor_override" "25 25 25 255" } } @@ -958,6 +1055,7 @@ "enabled" "1" "tabPosition" "0" + "SubButton" { "ControlName" "CExImageButton" @@ -1385,7 +1483,7 @@ "xpos" "75" "ypos" "234" "zpos" "1" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -1395,7 +1493,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -1447,7 +1545,7 @@ "xpos" "75" "ypos" "288" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -1457,7 +1555,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -1577,7 +1675,7 @@ "xpos" "75" "ypos" "270" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -1587,7 +1685,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -1639,7 +1737,7 @@ "xpos" "75" "ypos" "252" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -1649,7 +1747,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -1897,7 +1995,7 @@ "use_proportional_insets" "1" "font" "Cerbetica14" "textAlignment" "east" - "labelText" "v2016.3.17" + "labelText" "v2016.3.24" "dulltext" "0" "brighttext" "0" "default" "1" @@ -1939,7 +2037,7 @@ "xpos" "75" "ypos" "162" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -1949,7 +2047,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2002,7 +2100,7 @@ "xpos" "75" "ypos" "180" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -2012,7 +2110,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2065,7 +2163,7 @@ "xpos" "75" "ypos" "180" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -2075,7 +2173,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2128,7 +2226,7 @@ "xpos" "75" "ypos" "198" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "enabled" "1" @@ -2140,7 +2238,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2179,7 +2277,7 @@ "xpos" "75" "ypos" "216" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -2189,7 +2287,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2235,7 +2333,7 @@ } } - // USED FOR HUD RELOAD BUTTON, DOESN'T ACTUALLY CHANGE SERVERS + // USED FOR REPORT PLAYER BUTTON, DOESN'T ACTUALLY CHANGE SERVERS // HUD USES NORMAL SERVER BUTTON TO CHANGE SERVERS WHILE IN GAME // REFER TO GAMEMENU.RES FOR INFO ON THIS @@ -2246,7 +2344,7 @@ "xpos" "75" "ypos" "234" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "0" "PaintBackgroundType" "0" @@ -2256,7 +2354,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2378,7 +2476,7 @@ "xpos" "75" "ypos" "162" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "visible" "1" "PaintBackgroundType" "0" @@ -2388,7 +2486,7 @@ "fieldName" "SubButton" "xpos" "0" "ypos" "0" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2876,7 +2974,7 @@ "xpos" "75" "ypos" "324" "zpos" "1" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2929,7 +3027,7 @@ "xpos" "75" "ypos" "306" "zpos" "1" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -2983,7 +3081,7 @@ "xpos" "75" "ypos" "342" "zpos" "1" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -3036,7 +3134,7 @@ "xpos" "75" "ypos" "396" "zpos" "1" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -3089,7 +3187,7 @@ "xpos" "75" "ypos" "378" "zpos" "1" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -3142,7 +3240,7 @@ "xpos" "75" "ypos" "360" "zpos" "11" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" @@ -3195,7 +3293,7 @@ "xpos" "75" "ypos" "396" "zpos" "1" - "wide" "200" + "wide" "220" "tall" "18" "autoResize" "0" "visible" "1" diff --git a/minmode/resource/ui/TFAdvancedOptionsDialog.res b/minmode/resource/ui/TFAdvancedOptionsDialog.res index c91100b..23a53b6 100644 --- a/minmode/resource/ui/TFAdvancedOptionsDialog.res +++ b/minmode/resource/ui/TFAdvancedOptionsDialog.res @@ -17,7 +17,7 @@ "settitlebarvisible" "0"
"paintborder" "1"
"paintbackground" "1"
- "border" "CyanBorderThick"
+ "border" "NoBorder"
"bgcolor_override" "25 25 25 255"
"control_w" "500"
diff --git a/minmode/resource/ui/quickplaydialog.res b/minmode/resource/ui/quickplaydialog.res index ab098eb..66fb291 100644 --- a/minmode/resource/ui/quickplaydialog.res +++ b/minmode/resource/ui/quickplaydialog.res @@ -23,7 +23,7 @@ { "ControlName" "EditablePanel" "fieldName" "Container" - "xpos" "c-200" + "xpos" "300" "ypos" "c-190" "wide" "400" "tall" "400" @@ -34,7 +34,7 @@ "tabPosition" "0" "PaintBackgroundType" "0" "paintbackground" "1" - "border" "CyanBorderThick" + "border" "NoBorder" "Background" { @@ -49,7 +49,7 @@ "visible" "1" "enabled" "1" "tabPosition" "0" - "bgcolor_override" "25 25 25 255" + "bgcolor_override" "25 25 25 230" } "TitleLabel" diff --git a/minmode/resource/ui/streamlistpanel.res b/minmode/resource/ui/streamlistpanel.res new file mode 100644 index 0000000..bc58ff7 --- /dev/null +++ b/minmode/resource/ui/streamlistpanel.res @@ -0,0 +1,212 @@ +"Resource/UI/StreamListPanel.res" +{ + "HeaderContainer" + { + "ControlName" "EditablePanel" + "fieldName" "HeaderContainer" + "xpos" "0" + "ypos" "0" + "wide" "300" + "tall" "22" + "visible" "1" + + "HeaderLabel" + { + "ControlName" "CExLabel" + "fieldName" "HeaderLabel" + "font" "HudFontSmallBold" + "textAlignment" "center" + "labelText" "Currently Live" + "xpos" "0" + "ypos" "0" + "wide" "300" + "tall" "24" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "2" + "fgcolor_override" "TanLight" + "bgcolor_override" "25 25 25 255" + } + } + + "CloseButton" + { + "ControlName" "CExImageButton" + "fieldName" "CloseButton" + "xpos" "282" + "ypos" "4" + "zpos" "10" + "wide" "14" + "tall" "14" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labeltext" "X" + "font" "HudFontSmallBold" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "default" "0" + + "navDown" "MOTD_URLButton" + "navActivate" "<QuickplayButton" + + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "Command" "hide_streams" + + "paintbackground" "0" + + //"defaultFgColor_override" "235 226 202 255" + //"armedFgColor_override" "46 43 42 255" + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "Base Color" + "depressedFgColor_override" "TanLight" + + "image_drawcolor" "235 226 202 255" + "image_armedcolor" "200 80 60 255" + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "0" + "ypos" "0" + "zpos" "1" + "wide" "14" + "tall" "14" + "visible" "0" + "enabled" "0" + "image" "close_button" + "scaleImage" "1" + } + } + + "TitleLabel" + { + "ControlName" "CExLabel" + "fieldName" "TitleLabel" + "font" "HudFontSmallBold" + "labelText" "#MMenu_Stream_Title" + "textAlignment" "west" + "xpos" "5" + "ypos" "26" + "wide" "200" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "fgcolor" "56 53 49 255" + } + + "Stream1" + { + "ControlName" "CTFStreamPanel" + "fieldName" "Stream1" + "xpos" "0" + "ypos" "30" + "wide" "p1" + "tall" "50" + "autoResize" "1" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + } + + "Stream2" + { + "ControlName" "CTFStreamPanel" + "fieldName" "Stream2" + "xpos" "0" + "ypos" "85" + "wide" "p1" + "tall" "50" + "autoResize" "1" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + } + + "Stream3" + { + "ControlName" "CTFStreamPanel" + "fieldName" "Stream3" + "xpos" "0" + "ypos" "140" + "wide" "p1" + "tall" "50" + "autoResize" "1" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + } + + "Stream4" + { + "ControlName" "CTFStreamPanel" + "fieldName" "Stream4" + "xpos" "0" + "ypos" "195" + "wide" "p1" + "tall" "50" + "autoResize" "1" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + } + + "Stream5" + { + "ControlName" "CTFStreamPanel" + "fieldName" "Stream5" + "xpos" "0" + "ypos" "250" + "wide" "p1" + "tall" "50" + "autoResize" "1" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + } + + "Stream_URLButton" + { + "ControlName" "CExButton" + "fieldName" "Stream_URLButton" + "xpos" "75" + "ypos" "307" + "wide" "150" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#MMenu_Stream_ViewMore" + "textinsetx" "20" + "use_proportional_insets" "1" + "font" "HudFontSmallestBold" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "default" "1" + "command" "view_more" + + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + + "defaultFgColor_override" "235 226 202 255" + "defaultBgColor_override" "46 43 42 255" + "armedFgColor_override" "235 226 202 255" + "depressedFgColor_override" "235 226 202 255" + } +}
\ No newline at end of file diff --git a/minmode/resource/ui/streampanel.res b/minmode/resource/ui/streampanel.res new file mode 100644 index 0000000..da5ddcd --- /dev/null +++ b/minmode/resource/ui/streampanel.res @@ -0,0 +1,166 @@ +"Resource/UI/StreamPanel.res" +{ + "BGRect" + { + "ControlName" "EditablePanel" + "fieldName" "BGRect" + "xpos" "0" + "ypos" "0" + "zpos" "0" + "wide" "f0" + "tall" "f0" + "visible" "1" + "proportionaltoparent" "1" + + "bgcolor_override" "0 0 0 50" + } + + + "LoadingPanel" + { + "ControlName" "EditablePanel" + "fieldName" "LoadingPanel" + "xpos" "0" + "ypos" "0" + "zpos" "10" + "wide" "f0" + "tall" "f0" + "visible" "1" + "proportionaltoparent" "1" + + "SpinnerImage" + { + "ControlName" "ImagePanel" + "fieldName" "PreviewImage" + "xpos" "20" + "ypos" "0" + "zpos" "1" + "wide" "50" + "tall" "50" + "visible" "1" + "enable" "1" + "scaleImage" "1" + "image" "animated/tf2_logo_hourglass" + + "proportionaltoparent" "1" + } + + "DescriptionLabel" + { + "ControlName" "CExLabel" + "fieldName" "DescriptionLabel" + "font" "HudFontSmallestBold" + "labelText" "#MMenu_Stream_Loading" + "textAlignment" "west" + "xpos" "90" + "ypos" "0" + "wide" "f0" + "tall" "f0" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fgcolor" "56 53 49 255" + + "proportionaltoparent" "1" + } + } + + + "PreviewImage" + { + "ControlName" "ImagePanel" + "fieldName" "PreviewImage" + "xpos" "5" + "ypos" "3" + "zpos" "1" + "wide" "80" + "tall" "50" + "visible" "1" + "enable" "1" + "scaleImage" "0" + } + + "DisplayNameLabel" + { + "ControlName" "CExLabel" + "fieldName" "DisplayNameLabel" + "font" "HudFontSmallestBold" + "labelText" "%display_name%" + "textAlignment" "west" + "xpos" "90" + "ypos" "5" + "wide" "205" + "tall" "12" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fgcolor" "TanLight" + } + + "TextDescriptionLabel" + { + "ControlName" "CExLabel" + "fieldName" "TextDescriptionLabel" + "font" "HudFontSmallest" + "labelText" "%text_description%" + "textAlignment" "north-west" + "xpos" "90" + "ypos" "18" + "wide" "205" + "tall" "12" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fgcolor" "TanLight" + } + + "ViewerCountLabel" + { + "ControlName" "CExLabel" + "fieldName" "ViewerCountLabel" + "font" "HudFontSmallest" + "labelText" "%viewer_count%" + "textAlignment" "west" + "xpos" "90" + "ypos" "31" + "wide" "205" + "tall" "12" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fgcolor" "TanLight" + } + + "Stream_URLButton" + { + "ControlName" "CExButton" + "fieldName" "Stream_URLButton" + "xpos" "5" + "ypos" "0" + "zpos" "100" + "wide" "290" + "tall" "50" + "autoResize" "0" + "pinCorner" "0" + "labelText" "" + "visible" "1" + "enabled" "0" + "tabPosition" "0" + "default" "1" + "command" "stream" + + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + + "border_armed" "TeamMenuBorder" + + "defaultFgColor_override" "0 0 0 0" + "defaultBgColor_override" "0 0 0 0" + "armedFgColor_override" "0 0 0 0" + "armedBgColor_override" "0 0 0 0" + } +}
\ No newline at end of file |
