aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/resource/ui
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.Client/mod/resource/ui')
-rw-r--r--Northstar.Client/mod/resource/ui/menus/mod_settings.menu511
-rw-r--r--Northstar.Client/mod/resource/ui/menus/modlist.menu1003
-rw-r--r--Northstar.Client/mod/resource/ui/menus/panels/mod_setting.res183
-rw-r--r--Northstar.Client/mod/resource/ui/menus/panels/modlist_settings.res79
-rw-r--r--Northstar.Client/mod/resource/ui/menus/server_browser.menu898
5 files changed, 1802 insertions, 872 deletions
diff --git a/Northstar.Client/mod/resource/ui/menus/mod_settings.menu b/Northstar.Client/mod/resource/ui/menus/mod_settings.menu
new file mode 100644
index 00000000..2fed2bd1
--- /dev/null
+++ b/Northstar.Client/mod/resource/ui/menus/mod_settings.menu
@@ -0,0 +1,511 @@
+"resource/ui/menus/mods_browse.menu"
+{
+ "menu"
+ {
+ "ControlName" "Frame"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "3"
+ "wide" "f0"
+ "tall" "f0"
+ "autoResize" "1"
+ "visible" "1"
+ "enabled" "1"
+ "pinCorner" "0"
+ "PaintBackgroundType" "0"
+ "infocus_bgcolor_override" "0 0 0 0"
+ "outoffocus_bgcolor_override" "0 0 0 0"
+ "Vignette"
+ {
+ "ControlName" "ImagePanel"
+ "InheritProperties" "MenuVignette"
+ }
+ "Title"
+ {
+ "ControlName" "Label"
+ "InheritProperties" "MenuTitle"
+ "labelText" "#MOD_SETTINGS"
+ }
+ "ImgTopBar"
+ {
+ "ControlName" "ImagePanel"
+ "InheritProperties" "MenuTopBar"
+ }
+ "DarkenBackground"
+ {
+ "ControlName" "Label"
+ "classname" "ConnectingHUD"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "99"
+ "wide" "%100"
+ "tall" "%100"
+ "labelText" ""
+ "bgcolor_override" "0 0 0 0"
+ "visible" "0"
+ "paintbackground" "1"
+ }
+ "ButtonRowAnchor"
+ {
+ "ControlName" "Label"
+ "labelText" ""
+ "pin_to_sibling" "DarkenBackground"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ "pin_corner_to_sibling" "BOTTOM_LEFT"
+ "xpos" "-150"
+ "ypos" "-200"
+ }
+ "FilterButtonsRowAnchor"
+ {
+ "ControlName" "Label"
+ "pin_to_sibling" "LabelDetails"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "labelText" ""
+ "ypos" "12"
+ }
+ "NoResultLabel"
+ {
+ "ControlName" "Label"
+ "xpos" "0"
+ ypos "0"
+ wide "1200"
+ tall "675"
+ //auto_tall_tocontents 1
+ visible "1"
+ enabled "1"
+ //auto_wide_tocontents 1
+ labelText "No results."
+ textAlignment "center"
+ //auto_wide_tocontents "1"
+ //auto_tall_tocontents "1"
+ //fgcolor_override "255 255 255 255"
+ //bgcolor_override "0 0 0 200"
+ font Default_41
+
+ pin_to_sibling ButtonRowAnchor
+ pin_to_sibling_corner TOP_LEFT
+ pin_corner_to_sibling TOP_LEFT
+ }
+ // pain //
+ "BtnMod1"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "pin_to_sibling" "ButtonRowAnchor"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ "navUp" "BtnMod15"
+ "navDown" "BtnMod2"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "scriptID" "0"
+ }
+ "BtnMod2"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "pin_to_sibling" "BtnMod1"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod1"
+ "navDown" "BtnMod3"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "scriptID" "1"
+ }
+ "BtnMod3"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "2"
+ "pin_to_sibling" "BtnMod2"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod2"
+ "navDown" "BtnMod4"
+ }
+ "BtnMod4"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "3"
+ "pin_to_sibling" "BtnMod3"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod3"
+ "navDown" "BtnMod5"
+ }
+ "BtnMod5"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "4"
+ "pin_to_sibling" "BtnMod4"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod4"
+ "navDown" "BtnMod6"
+ }
+ "BtnMod6"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "5"
+ "pin_to_sibling" "BtnMod5"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod5"
+ "navDown" "BtnMod7"
+ }
+ "BtnMod7"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "6"
+ "pin_to_sibling" "BtnMod6"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod6"
+ "navDown" "BtnMod8"
+ }
+ "BtnMod8"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "7"
+ "pin_to_sibling" "BtnMod7"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod7"
+ "navDown" "BtnMod9"
+ }
+ "BtnMod9"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "8"
+ "pin_to_sibling" "BtnMod8"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod8"
+ "navDown" "BtnMod10"
+ }
+ "BtnMod10"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "9"
+ "pin_to_sibling" "BtnMod9"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod9"
+ "navDown" "BtnMod11"
+ }
+ "BtnMod11"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "10"
+ "pin_to_sibling" "BtnMod10"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod10"
+ "navDown" "BtnMod12"
+ }
+ "BtnMod12"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "11"
+ "pin_to_sibling" "BtnMod11"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod11"
+ "navDown" "BtnMod13"
+ }
+ "BtnMod13"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "12"
+ "pin_to_sibling" "BtnMod12"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod12"
+ "navDown" "BtnMod14"
+ }
+ "BtnMod14"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "13"
+ "pin_to_sibling" "BtnMod13"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod13"
+ "navDown" "BtnMod15"
+ }
+ "BtnMod15"
+ {
+ "ControlName" "CNestedPanel"
+ "classname" "ModButton"
+ "tall" "45"
+ "wide" "1200"
+ "controlSettingsFile" "resource/UI/menus/panels/mod_setting.res"
+ "classname" "ModButton"
+ "scriptID" "14"
+ "pin_to_sibling" "BtnMod14"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ "navUp" "BtnMod14"
+ "navDown" "BtnMod1"
+ }
+ // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+ "FilterPanel"
+ {
+ "ControlName" "RuiPanel"
+ "wide" "1220"
+ "tall" "112"
+ //"xpos" "-8"
+ "classname" "FilterPanelChild"
+ "rui" "ui/knowledgebase_panel.rpak"
+ "visible" "1"
+ "zpos" "-1"
+ "pin_to_sibling" "FilterButtonsRowAnchor"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "LabelDetails"
+ {
+ "ControlName" "RuiPanel"
+ "tall" "695"
+ "wide" "1220"
+ "xpos" "10"
+ "ypos" "10"
+ "pin_to_sibling" "ButtonRowAnchor"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ "rui" "ui/knowledgebase_panel.rpak"
+ "wrap" "1"
+ "visible" "1"
+ "zpos" "-1"
+ }
+ "BtnSearchLabel"
+ {
+ "ControlName" "RuiButton"
+ "InheritProperties" "RuiSmallButton"
+ "labelText" "#SEARCHBAR_LABEL"
+ "textAlignment" "west"
+ "classname" "FilterPanelChild"
+ "wide" "500"
+ "xpos" "-23"
+ "ypos" "-16"
+ "wrap" "1"
+ "visible" "1"
+ "zpos" "0"
+ "pin_to_sibling" "FilterButtonsRowAnchor"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "BtnModsSearch"
+ {
+ "ControlName" "TextEntry"
+ "classname" "FilterPanelChild"
+ "zpos" "100" // This works around input weirdness when the control is constructed by code instead of VGUI blackbox.
+ "xpos" "-400"
+ "ypos" "-5"
+ "wide" "390"
+ "tall" "30"
+ "textHidden" "0"
+ "editable" "1"
+ "font" "Default_21"
+ "allowRightClickMenu" "0"
+ "allowSpecialCharacters" "1"
+ "unicode" "1"
+ "pin_to_sibling" "BtnSearchLabel"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "TOP_RIGHT"
+ }
+ "BtnFiltersClear"
+ {
+ "ControlName" "RuiButton"
+ "InheritProperties" "RuiSmallButton"
+ "labelText" "#CLEAR_FILTERS"
+ "classname" "FilterPanelChild"
+ "wide" "100"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "90"
+ "scriptID" "999"
+ "pin_to_sibling" "BtnSearchLabel"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "TOP_RIGHT"
+ }
+ // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+ "BtnModListUpArrow"
+ {
+ "ControlName" "RuiButton"
+ "InheritProperties" "RuiSmallButton"
+ // labelText "A"F
+ "wide" "40"
+ "tall" "40"
+ "xpos" "2"
+ "ypos" "0"
+ "image" "vgui/hud/white"
+ "drawColor" "255 255 255 128"
+ "pin_to_sibling" "LabelDetails"
+ "pin_corner_to_sibling" "TOP_RIGHT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "BtnModListUpArrowPanel"
+ {
+ "ControlName" "RuiPanel"
+ "wide" "40"
+ "tall" "40"
+ "xpos" "2"
+ "ypos" "0"
+ "rui" "ui/knowledgebase_panel.rpak"
+ "visible" "1"
+ "zpos" "-1"
+ "pin_to_sibling" "LabelDetails"
+ "pin_corner_to_sibling" "TOP_RIGHT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "BtnModListDownArrow"
+ {
+ "ControlName" "RuiButton"
+ "InheritProperties" "RuiSmallButton"
+ // labelText "V"
+ "wide" "40"
+ "tall" "40"
+ "xpos" "2"
+ "ypos" "-655"
+ "image" "vgui/hud/white"
+ "drawColor" "255 255 255 128"
+ "pin_to_sibling" "LabelDetails"
+ "pin_corner_to_sibling" "TOP_RIGHT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "BtnModListDownArrowPanel"
+ {
+ "ControlName" "RuiPanel"
+ "wide" "40"
+ "tall" "40"
+ "xpos" "2"
+ "ypos" "-655"
+ "rui" "ui/knowledgebase_panel.rpak"
+ "visible" "1"
+ "zpos" "-1"
+ "pin_to_sibling" "LabelDetails"
+ "pin_corner_to_sibling" "TOP_RIGHT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "BtnModListSlider"
+ {
+ "ControlName" "RuiButton"
+ "InheritProperties" "RuiSmallButton"
+ // labelText "V"
+ "wide" "40"
+ "tall" "420"
+ "xpos" "2"
+ "ypos" "-40"
+ "zpos" "0"
+ "image" "vgui/hud/white"
+ "drawColor" "255 255 255 128"
+ "pin_to_sibling" "LabelDetails"
+ "pin_corner_to_sibling" "TOP_RIGHT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "BtnModListSliderPanel"
+ {
+ "ControlName" "RuiPanel"
+ "wide" "40"
+ "tall" "420"
+ "xpos" "2"
+ "ypos" "-40"
+ "rui" "ui/knowledgebase_panel.rpak"
+ "visible" "1"
+ "zpos" "-1"
+ "pin_to_sibling" "LabelDetails"
+ "pin_corner_to_sibling" "TOP_RIGHT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ // sh_menu_models.gnut has a global function which gets called when
+ // left mouse button gets called while hovering and has mouse
+ // deltaX; deltaY which we can yoink for ourselfes
+ "MouseMovementCapture"
+ {
+ "ControlName" "CMouseMovementCapturePanel"
+ "wide" "40"
+ "tall" "604"
+ "xpos" "2"
+ "ypos" "-40"
+ "zpos" "1"
+ "pin_to_sibling" "LabelDetails"
+ "pin_corner_to_sibling" "TOP_RIGHT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "ButtonTooltip"
+ {
+ "ControlName" "CNestedPanel"
+ "InheritProperties" "ButtonTooltip"
+ }
+ // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+ "FooterButtons"
+ {
+ "ControlName" "CNestedPanel"
+ "InheritProperties" "FooterButtons"
+ }
+ }
+}
diff --git a/Northstar.Client/mod/resource/ui/menus/modlist.menu b/Northstar.Client/mod/resource/ui/menus/modlist.menu
index ffe9a257..bd350a33 100644
--- a/Northstar.Client/mod/resource/ui/menus/modlist.menu
+++ b/Northstar.Client/mod/resource/ui/menus/modlist.menu
@@ -1,4 +1,4 @@
-resource/ui/menus/mods_browse.menu
+resource/ui/menus/modlist.menu
{
menu
{
@@ -18,497 +18,654 @@ resource/ui/menus/mods_browse.menu
Vignette
{
- ControlName ImagePanel
- InheritProperties MenuVignette
+ ControlName ImagePanel
+ InheritProperties MenuVignette
}
Title
{
- ControlName Label
- InheritProperties MenuTitle
- labelText "#MENU_TITLE_MODS"
+ ControlName Label
+ InheritProperties MenuTitle
+ labelText "#MENU_TITLE_MODS"
}
ImgTopBar
{
- ControlName ImagePanel
- InheritProperties MenuTopBar
+ ControlName ImagePanel
+ InheritProperties MenuTopBar
}
-
+
ButtonRowAnchor
{
- ControlName Label
- labelText ""
+ ControlName Label
+ labelText ""
- xpos 120
- ypos 160
+ xpos 120
+ ypos 160
}
-
+
FilterButtonsRowAnchor
{
- ControlName Label
- labelText ""
+ ControlName Label
+ labelText ""
- xpos 90
- ypos 848
+ xpos 90
+ ypos 848
}
-
+
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// PANELS
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- BtnMod1
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 0
- navUp BtnMod15
- navDown BtnMod2
-
- pin_to_sibling ButtonRowAnchor
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_LEFT
- }
- BtnMod2
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 1
- pin_to_sibling BtnMod1
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod1
- navDown BtnMod3
- }
- BtnMod3
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 2
- pin_to_sibling BtnMod2
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod2
- navDown BtnMod4
- }
- BtnMod4
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 3
- pin_to_sibling BtnMod3
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- //ypos 11
- navUp BtnMod3
- navDown BtnMod5
- }
- BtnMod5
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 4
- pin_to_sibling BtnMod4
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod4
- navDown BtnMod6
- }
- BtnMod6
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 5
- pin_to_sibling BtnMod5
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod5
- navDown BtnMod7
- }
- BtnMod7
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 6
- pin_to_sibling BtnMod6
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod6
- navDown BtnMod8
- }
- BtnMod8
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 7
- pin_to_sibling BtnMod7
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod7
- navDown BtnMod9
- }
- BtnMod9
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 8
- pin_to_sibling BtnMod8
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod8
- navDown BtnMod10
- }
- BtnMod10
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 9
- pin_to_sibling BtnMod9
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod9
- navDown BtnMod11
- }
- BtnMod11
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 10
- pin_to_sibling BtnMod10
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod10
- navDown BtnMod12
- }
- BtnMod12
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 11
- pin_to_sibling BtnMod11
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod11
- navDown BtnMod13
- }
- BtnMod13
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 12
- pin_to_sibling BtnMod12
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod12
- navDown BtnMod14
- }
- BtnMod14
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 13
- pin_to_sibling BtnMod13
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod13
- navDown BtnMod15
- }
- BtnMod15
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 14
- pin_to_sibling BtnMod14
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod14
- navDown BtnMod1
- }
- BtnMod16
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 15
- pin_to_sibling BtnMod15
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod15
- navDown BtnMod17
- }
- BtnMod17
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- classname ModButton
- scriptID 16
- pin_to_sibling BtnMod16
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- navUp BtnMod16
- navDown BtnMod18
+ Panel1
+ {
+ ControlName CNestedPanel
+ classname ModSelectorPanel
+ scriptID 1
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling ButtonRowAnchor
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel2
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 2
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel1
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel3
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 3
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel2
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel4
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 4
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel3
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel5
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 5
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel4
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel6
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 6
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel5
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel7
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 7
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel6
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel8
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 8
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel7
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel9
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 9
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel8
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel10
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 10
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel9
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel11
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 11
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel10
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel12
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 12
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel11
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
}
+ Panel13
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 13
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel12
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel14
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 14
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel13
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ Panel15
+ {
+ ControlName "CNestedPanel"
+ classname ModSelectorPanel
+ scriptID 15
+
+ controlSettingsFile "resource/ui/menus/panels/modlist_settings.res"
+ wide %100
+ tall 45
+
+ pin_to_sibling Panel14
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
+// FILTERS
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
FilterPanel
{
- ControlName RuiPanel
- wide 800
- tall 112
- xpos -8
- classname FilterPanelChild
-
- rui "ui/knowledgebase_panel.rpak"
+ ControlName RuiPanel
+ classname FilterPanelChild
+
+ wide 800
+ tall 112
+ xpos -8
+ zpos -1
- visible 1
- zpos -1
+ rui "ui/knowledgebase_panel.rpak"
+ visible 1
- pin_to_sibling FilterButtonsRowAnchor
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_LEFT
+ pin_to_sibling FilterButtonsRowAnchor
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner TOP_LEFT
}
-
+
BtnSearchLabel
{
- ControlName RuiButton
- InheritProperties RuiSmallButton
- labelText "#SEARCHBAR_LABEL"
- textAlignment west
- classname FilterPanelChild
-
- wide 500
- xpos -23
- ypos -16
-
- wrap 1
- visible 1
- zpos 0
-
- pin_to_sibling FilterButtonsRowAnchor
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_LEFT
- }
-
+ ControlName RuiButton
+ InheritProperties RuiSmallButton
+ classname FilterPanelChild
+
+ labelText #SEARCHBAR_LABEL
+ textAlignment west
+
+ wide 500
+ xpos -23
+ ypos -16
+ zpos 0
+ wrap 1
+ visible 1
+
+
+
+ pin_to_sibling FilterButtonsRowAnchor
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
BtnModsSearch
{
- ControlName TextEntry
- classname FilterPanelChild
- zpos 100 // This works around input weirdness when the control is constructed by code instead of VGUI blackbox.
- xpos -400
- ypos -5
- wide 390
- tall 30
- textHidden 0
- editable 1
- font Default_21
- allowRightClickMenu 0
- allowSpecialCharacters 0
- unicode 0
-
- pin_to_sibling BtnSearchLabel
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_RIGHT
+ ControlName TextEntry
+ classname FilterPanelChild
+
+ zpos 100 // This works around input weirdness when the control is constructed by code instead of VGUI blackbox.
+ xpos -400
+ ypos -5
+ wide 390
+ tall 30
+
+ textHidden 0 // Why?
+ editable 1
+ font Default_21
+
+ allowRightClickMenu 0
+ allowSpecialCharacters 0
+ unicode 1
+
+ pin_to_sibling BtnSearchLabel
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner TOP_RIGHT
}
-
+
SwtBtnShowFilter
{
- ControlName RuiButton
- InheritProperties SwitchButton
- labelText "#SHOW"
- ConVar "filter_mods"
- classname FilterPanelChild
+ ControlName RuiButton
+ InheritProperties SwitchButton
+ classname FilterPanelChild
+
+ labelText "#SHOW"
+ ConVar "filter_mods"
wide 500
-
+
list
{
- "#SHOW_ALL" 0
- "#SHOW_ONLY_ENABLED" 1
- "#SHOW_ONLY_DISABLED" 2
+ "#SHOW_ALL" 0
+ "#SHOW_ONLY_ENABLED" 1
+ "#SHOW_ONLY_DISABLED" 2
+ "#SHOW_ONLY_NOT_REQUIRED" 3
+ "#SHOW_ONLY_REQUIRED" 4
}
-
- pin_to_sibling BtnSearchLabel
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
+
+ pin_to_sibling BtnSearchLabel
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
}
-
+
+ BtnListReverse
+ {
+ ControlName RuiButton
+ InheritProperties SwitchButton
+ classname FilterPanelChild
+
+ xpos -15
+ ypos -15
+
+ labelText "Reverse"
+ ConVar "modlist_reverse"
+ wide 260
+
+ list
+ {
+ "low first" 0
+ "high first" 1
+ }
+
+ pin_to_sibling FilterPanel
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner TOP_RIGHT
+ }
+
BtnFiltersClear
{
- ControlName RuiButton
- InheritProperties RuiSmallButton
- labelText "#CLEAR_FILTERS"
- classname FilterPanelChild
- wide 100
- xpos -15
- ypos -55
- zpos 90
-
- scriptID 999
-
- pin_to_sibling FilterPanel
- pin_corner_to_sibling TOP_RIGHT
- pin_to_sibling_corner BOTTOM_RIGHT
+ ControlName RuiButton
+ InheritProperties RuiSmallButton
+ classname FilterPanelChild
+
+ labelText "#CLEAR_FILTERS"
+ wide 100
+ xpos -15
+ ypos -55
+ zpos 90
+
+ pin_to_sibling FilterPanel
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner BOTTOM_RIGHT
}
-
+
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// MOD INFO
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+ ModButtonsPanel
+ {
+ ControlName RuiPanel
+ classname FilterPanelChild
+
+ wide 950
+ tall 112
+
+ rui "ui/knowledgebase_panel.rpak"
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP
+ pin_to_sibling_corner BOTTOM
+ }
+
+ HideCVButton
+ {
+ ControlName RuiButton
+ InheritProperties SwitchButton
+
+ labelText "ConVars"
+ ConVar "modlist_show_convars"
+ wide 300
+
+ list
+ {
+ "Hidden" 0
+ "Shown" 1
+ }
+
+ pin_to_sibling ModButtonsPanel
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
+ ModPageButton
+ {
+ ControlName RuiButton
+ InheritProperties RuiSmallButton
+
+ textAlignment west
+ visible 0
+
+ pin_to_sibling HideCVButton
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ WarningLegendImage
+ {
+ ControlName RuiPanel
+
+ rui ui/basic_image.rpak
+ wide 30
+ tall 30
+ xpos -10
+ ypos -5
+ visible 0
+
+ pin_to_sibling ModButtonsPanel
+ pin_corner_to_sibling BOTTOM_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ WarningLegendLabel
+ {
+ ControlName Label
+
+ labelText "#MOD_REQUIRED_WARNING"
+ auto_wide_tocontents 1
+ tall 50
+ visible 0
+
+ pin_to_sibling WarningLegendImage
+ pin_corner_to_sibling LEFT
+ pin_to_sibling_corner RIGHT
+ }
+
LabelDetails
{
- ControlName RuiPanel
- xpos 900
- ypos 160
- tall 800
- wide 950
- rui "ui/knowledgebase_panel.rpak"
- wrap 1
- visible 1
- zpos 1
+ ControlName RuiPanel
+
+ xpos 900
+ ypos 160
+ zpos 1
+
+ tall 688
+ wide 950
+ rui "ui/knowledgebase_panel.rpak"
+ wrap 1
+ visible 1
}
-
+
+ ModEnabledBar
+ {
+ ControlName RuiPanel
+
+ rui ui/basic_image.rpak
+ wide 950
+ tall 7
+ zpos 2
+ visible 0
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// SLIDER
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
BtnModListUpArrow
{
- ControlName RuiButton
- InheritProperties RuiSmallButton
- //labelText "A"
- wide 40
- tall 40
- xpos 2
- ypos 2
-
- image "vgui/hud/white"
- drawColor "255 255 255 128"
-
- pin_to_sibling LabelDetails
- pin_corner_to_sibling TOP_RIGHT
- pin_to_sibling_corner TOP_LEFT
- }
-
+ ControlName RuiButton
+ InheritProperties RuiSmallButton
+
+ wide 40
+ tall 40
+ xpos 2
+ ypos 2
+
+ image "vgui/hud/white"
+ drawColor "255 255 255 128"
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
BtnModListUpArrowPanel
{
- ControlName RuiPanel
- wide 40
- tall 40
- xpos 2
- ypos 2
-
- rui "ui/knowledgebase_panel.rpak"
-
- visible 1
- zpos -1
-
- pin_to_sibling LabelDetails
- pin_corner_to_sibling TOP_RIGHT
- pin_to_sibling_corner TOP_LEFT
- }
-
+ ControlName RuiPanel
+
+ wide 40
+ tall 40
+ xpos 2
+ ypos 2
+
+ rui "ui/knowledgebase_panel.rpak"
+ visible 1
+ zpos -1
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
BtnModListDownArrow
{
- ControlName RuiButton
- InheritProperties RuiSmallButton
- //labelText "V"
- wide 40
- tall 40
- xpos 2
- ypos -646
-
- image "vgui/hud/white"
- drawColor "255 255 255 128"
-
- pin_to_sibling LabelDetails
- pin_corner_to_sibling TOP_RIGHT
- pin_to_sibling_corner TOP_LEFT
- }
-
+ ControlName RuiButton
+ InheritProperties RuiSmallButton
+
+ wide 40
+ tall 40
+ xpos 2
+ ypos -646
+
+ image "vgui/hud/white"
+ drawColor "255 255 255 128"
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
BtnModListDownArrowPanel
{
- ControlName RuiPanel
- wide 40
- tall 40
- xpos 2
- ypos -646
-
- rui "ui/knowledgebase_panel.rpak"
-
- visible 1
- zpos -1
-
- pin_to_sibling LabelDetails
- pin_corner_to_sibling TOP_RIGHT
- pin_to_sibling_corner TOP_LEFT
- }
-
+ ControlName RuiPanel
+
+ wide 40
+ tall 40
+ xpos 2
+ ypos -646
+ zpos -1
+
+ rui "ui/knowledgebase_panel.rpak"
+ visible 1
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
BtnModListSlider
{
- ControlName RuiButton
- InheritProperties RuiSmallButton
- //labelText "V"
- wide 40
- tall 604
- xpos 2
- ypos -40
- zpos 0
-
- image "vgui/hud/white"
- drawColor "255 255 255 128"
-
- pin_to_sibling LabelDetails
- pin_corner_to_sibling TOP_RIGHT
- pin_to_sibling_corner TOP_LEFT
- }
-
+ ControlName RuiButton
+ InheritProperties RuiSmallButton
+
+ wide 40
+ tall 604
+ xpos 2
+ ypos -40
+ zpos 0
+
+ image "vgui/hud/white"
+ drawColor "255 255 255 128"
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
BtnModListSliderPanel
{
- ControlName RuiPanel
- wide 40
- tall 604
- xpos 2
- ypos -40
-
- rui "ui/knowledgebase_panel.rpak"
-
- visible 1
- zpos -1
-
- pin_to_sibling LabelDetails
- pin_corner_to_sibling TOP_RIGHT
- pin_to_sibling_corner TOP_LEFT
- }
-
+ ControlName RuiPanel
+
+ wide 40
+ tall 604
+ xpos 2
+ ypos -40
+ zpos -1
+
+ rui "ui/knowledgebase_panel.rpak"
+ visible 1
+
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner TOP_LEFT
+ }
+
// sh_menu_models.gnut has a global function which gets called when
// left mouse button gets called while hovering and has mouse
// deltaX; deltaY which we can yoink for ourselfes
MouseMovementCapture
{
- ControlName CMouseMovementCapturePanel
- wide 40
- tall 604
- xpos 2
- ypos -40
- zpos 1
-
- pin_to_sibling LabelDetails
- pin_corner_to_sibling TOP_RIGHT
- pin_to_sibling_corner TOP_LEFT
+ ControlName CMouseMovementCapturePanel
+
+ wide 40
+ tall 604
+ xpos 2
+ ypos -40
+ zpos 1
+
+ pin_to_sibling LabelDetails
+ pin_corner_to_sibling TOP_RIGHT
+ pin_to_sibling_corner TOP_LEFT
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
FooterButtons
{
- ControlName CNestedPanel
- InheritProperties FooterButtons
+ ControlName CNestedPanel
+ InheritProperties FooterButtons
}
}
}
diff --git a/Northstar.Client/mod/resource/ui/menus/panels/mod_setting.res b/Northstar.Client/mod/resource/ui/menus/panels/mod_setting.res
new file mode 100644
index 00000000..92dce922
--- /dev/null
+++ b/Northstar.Client/mod/resource/ui/menus/panels/mod_setting.res
@@ -0,0 +1,183 @@
+"resource/ui/menus/panels/mod_setting.res"
+{
+ "FULL"
+ {
+ "ControlName" "Label"
+ "classname" "ConnectingHUD"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "99"
+ "wide" "1200"
+ "tall" "45"
+ "labelText" ""
+ "bgcolor_override" "0 0 0 0"
+ "visible" "0"
+ "paintbackground" "1"
+ }
+ "BtnMod"
+ {
+ "ControlName" "Label"
+ "InheritProperties" "RuiSmallButton"
+ "labelText" "Mod"
+ //"auto_wide_tocontents" "1"
+ "navRight" "EnumSelectButton"
+ "navLeft" "TextEntrySetting"
+ "wide" "390"
+ "tall" "45"
+ }
+ // we're getting to the top of this :)
+ "TopLine"
+ {
+ "ControlName" "ImagePanel"
+ "InheritProperties" "MenuTopBar"
+ "ypos" "0"
+ "wide" "%100"
+ "pin_to_sibling" "BtnMod"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "TOP_LEFT"
+ }
+ "ModTitle"
+ {
+ "ControlName" "Label"
+ "InheritProperties" "RuiSmallButton"
+ "labelText" "Mod"
+ "font" "DefaultBold_43"
+ //"auto_wide_tocontents" "1"
+ "zpos" "-999"
+ "textAlignment" "center"
+ "navRight" "EnumSelectButton"
+ "navLeft" "TextEntrySetting"
+ "wide" "1200"
+ "tall" "45"
+
+ }
+ "Slider"
+ {
+ "ControlName" "SliderControl"
+ //"InheritProperties" "RuiSmallButton"
+ minValue 0.0
+ maxValue 2.0
+ stepSize 0.05
+ "pin_to_sibling" "BtnMod"
+ "pin_corner_to_sibling" "TOP_LEFT"
+ "pin_to_sibling_corner" "TOP_RIGHT"
+ "navRight" "ResetModToDefault"
+ "navLeft" "TextEntrySetting"
+ //isValueClampedToStepSize 1
+ BtnDropButton
+ {
+ ControlName RuiButton
+ //InheritProperties WideButton
+ style SliderButton
+ "wide" "320"
+ "tall" "45"
+ "labelText" ""
+ "auto_wide_tocontents" "0"
+ }
+ "wide" "320"
+ "tall" "45"
+ }
+ "EnumSelectButton"
+ {
+ "ControlName" "RuiButton"
+ "InheritProperties" "RuiSmallButton"
+ "style" "DialogListButton"
+ "labelText" ""
+ "zpos" "4"
+ "wide" "225"
+ "tall" "45"
+ //"xpos" "10"
+ "scriptID" "0"
+ "pin_to_sibling" "FULL"
+ "pin_corner_to_sibling" "RIGHT"
+ "pin_to_sibling_corner" "RIGHT"
+ "navLeft" "ResetModToDefault"
+ "navRight" "TextEntrySetting"
+ }
+ "ResetModToDefault"
+ {
+ "ControlName" "RuiButton"
+ "InheritProperties" "RuiSmallButton"
+ "labelText" ""
+ "zpos" "0"
+ "xpos" "10"
+ "wide" "45"
+ "tall" "45"
+ "scriptID" "0"
+ "pin_to_sibling" "EnumSelectButton"
+ "pin_corner_to_sibling" "RIGHT"
+ "pin_to_sibling_corner" "LEFT"
+ "navLeft" "Slider"
+ "navRight" "TextEntrySetting"
+ }
+ "ResetModImage"
+ {
+ "ControlName" "ImagePanel"
+ "image" "vgui/reset"
+ "scaleImage" "1"
+ "drawColor" "180 180 180 255" // vanilla label color
+ "visible" "0"
+ "wide" "30"
+ "tall" "30"
+ "enabled" "0"
+
+ "pin_to_sibling" "ResetModToDefault"
+ "pin_corner_to_sibling" "CENTER"
+ "pin_to_sibling_corner" "CENTER"
+ }
+ "OpenCustomMenu"
+ {
+ "ControlName" "RuiButton"
+ "InheritProperties" "RuiSmallButton"
+ "labelText" "Open"
+ //"auto_wide_tocontents" "1"
+ "zpos" "4"
+ "wide" "1200"
+ "textAlignment" "center"
+ //"font" "Default_41"
+ //"xpos" "10"
+ "tall" "40"
+ "scriptID" "0"
+ "visible" "0"
+ "pin_to_sibling" "FULL"
+ "pin_corner_to_sibling" "RIGHT"
+ "pin_to_sibling_corner" "RIGHT"
+ "navLeft" "TextEntrySetting"
+ "navRight" "TextEntrySetting"
+ }
+ "TextEntrySetting"
+ {
+ "ControlName" "TextEntry"
+ "classname" "MatchSettingTextEntry"
+ //"xpos" "-35"
+ //"ypos" "-5"
+ "zpos" "100" // This works around input weirdness when the control is constructed by code instead of VGUI blackbox.
+ "wide" "160"
+ "tall" "30"
+ "scriptID" "0"
+ "textHidden" "0"
+ "editable" "1"
+ // NumericInputOnly 1
+ "font" "Default_21"
+ "allowRightClickMenu" "0"
+ "allowSpecialCharacters" "1"
+ "unicode" "0"
+ "pin_to_sibling" "EnumSelectButton"
+ "pin_corner_to_sibling" "CENTER"
+ "pin_to_sibling_corner" "CENTER"
+ "navLeft" "EnumSelectButton"
+ "navRight" "EnumSelectButton"
+ }
+ // we're getting to the bottom of this :)
+ "BottomLine"
+ {
+ "ControlName" "ImagePanel"
+ "InheritProperties" "MenuTopBar"
+ "ypos" "5"
+ "wide" "%100"
+ //"tall" "0"
+ "pin_to_sibling" "FULL"
+ "pin_corner_to_sibling" "BOTTOM_LEFT"
+ "pin_to_sibling_corner" "BOTTOM_LEFT"
+ }
+}
diff --git a/Northstar.Client/mod/resource/ui/menus/panels/modlist_settings.res b/Northstar.Client/mod/resource/ui/menus/panels/modlist_settings.res
new file mode 100644
index 00000000..cd596238
--- /dev/null
+++ b/Northstar.Client/mod/resource/ui/menus/panels/modlist_settings.res
@@ -0,0 +1,79 @@
+resource/ui/menus/panels/modlist_setting.res
+{
+ BtnMod
+ {
+ ControlName RuiButton
+ InheritProperties RuiSmallButton
+ classname ModButton
+ labelText "please show up"
+
+ pin_to_sibling ControlBox
+ pin_corner_to_sibling LEFT
+ pin_to_sibling_corner RIGHT
+ }
+
+ Header
+ {
+ ControlName Label
+ wide 400
+ labelText "labelText"
+
+ pin_to_sibling ControlBox
+ pin_corner_to_sibling LEFT
+ pin_to_sibling_corner RIGHT
+ }
+
+ ControlBox
+ {
+ ControlName RuiPanel
+ classname ControlBox
+
+ tall 30
+ wide 5
+ ypos 5
+ rui "ui/basic_image.rpak"
+
+ pin_corner_to_sibling LEFT
+ pin_to_sibling_corner LEFT
+ }
+
+ BottomLine
+ {
+ ControlName ImagePanel
+ InheritProperties MenuTopBar
+ ypos 0
+ wide %50
+
+ pin_to_sibling BtnMod
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+
+ WarningImage
+ {
+ ControlName RuiPanel
+
+ rui ui/basic_image.rpak
+ wide 30
+ tall 30
+ visible 0
+
+ pin_to_sibling BtnMod
+ pin_corner_to_sibling LEFT
+ pin_to_sibling_corner RIGHT
+ }
+
+ EnabledImage
+ {
+ ControlName RuiPanel
+
+ rui ui/basic_image.rpak
+ wide 30
+ tall 30
+ visible 0
+
+ pin_to_sibling BtnMod
+ pin_corner_to_sibling RIGHT
+ pin_to_sibling_corner LEFT
+ }
+}
diff --git a/Northstar.Client/mod/resource/ui/menus/server_browser.menu b/Northstar.Client/mod/resource/ui/menus/server_browser.menu
index 89fb951d..4a84a714 100644
--- a/Northstar.Client/mod/resource/ui/menus/server_browser.menu
+++ b/Northstar.Client/mod/resource/ui/menus/server_browser.menu
@@ -419,6 +419,252 @@ resource/ui/menus/mods_browse.menu
pin_corner_to_sibling TOP_LEFT
pin_to_sibling_corner BOTTOM_LEFT
}
+
+ // Region
+ BtnServerRegionTab
+ {
+ ControlName RuiButton
+ InheritProperties RuiSmallButton
+ labelText "#REGION_COLUMN"
+ wide 110
+ xpos -4
+ ypos -1
+
+ scriptID 999
+
+ pin_to_sibling BtnServerPasswordProtectedTab
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner TOP_RIGHT
+ navDown BtnServer1
+ navRight BtnServerNameTab
+ navUp BtnFiltersClear
+ }
+
+ BtnServerRegion1
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer1
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion2
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer2
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion3
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer3
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion4
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer4
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion5
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer5
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion6
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer6
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion7
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer7
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion8
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer8
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion9
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer9
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion10
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer10
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion11
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer11
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion12
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer12
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion13
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer13
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion14
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer14
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
+ BtnServerRegion15
+ {
+ ControlName Label
+ labelText ""
+ classname Serverregion
+ textAlignment center
+ wide 110
+ tall 44
+ ypos -42
+ xpos 0
+
+ pin_to_sibling BtnServer15
+ pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling_corner BOTTOM_LEFT
+ }
// Name
BtnServerNameTab
@@ -427,16 +673,16 @@ resource/ui/menus/mods_browse.menu
InheritProperties RuiSmallButton
labelText "#SERVERS_COLUMN"
wide 600
- xpos -4
- ypos -1
+ xpos 4
scriptID 999
- pin_to_sibling BtnServerPasswordProtectedTab
+ pin_to_sibling BtnServerRegionTab
pin_corner_to_sibling TOP_LEFT
pin_to_sibling_corner TOP_RIGHT
navUp BtnFiltersClear
navDown BtnServer1
+ navLeft BtnServerRegionTab
navRight BtnServerPlayersTab
}
@@ -448,8 +694,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
interactive false
@@ -465,8 +711,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer2
pin_corner_to_sibling TOP_LEFT
@@ -480,8 +726,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer3
pin_corner_to_sibling TOP_LEFT
@@ -495,8 +741,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer4
pin_corner_to_sibling TOP_LEFT
@@ -510,8 +756,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer5
pin_corner_to_sibling TOP_LEFT
@@ -525,8 +771,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer6
pin_corner_to_sibling TOP_LEFT
@@ -540,8 +786,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer7
pin_corner_to_sibling TOP_LEFT
@@ -555,8 +801,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer8
pin_corner_to_sibling TOP_LEFT
@@ -570,8 +816,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer9
pin_corner_to_sibling TOP_LEFT
@@ -585,8 +831,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer10
pin_corner_to_sibling TOP_LEFT
@@ -600,8 +846,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer11
pin_corner_to_sibling TOP_LEFT
@@ -615,8 +861,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer12
pin_corner_to_sibling TOP_LEFT
@@ -630,8 +876,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer13
pin_corner_to_sibling TOP_LEFT
@@ -645,8 +891,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer14
pin_corner_to_sibling TOP_LEFT
@@ -660,8 +906,8 @@ resource/ui/menus/mods_browse.menu
classname ServerName
wide 586
tall 44
- ypos -44
- xpos -14
+ ypos -42
+ xpos -122
pin_to_sibling BtnServer15
pin_corner_to_sibling TOP_LEFT
@@ -697,8 +943,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer1
pin_corner_to_sibling TOP_LEFT
@@ -712,8 +958,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer2
pin_corner_to_sibling TOP_LEFT
@@ -727,8 +973,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer3
pin_corner_to_sibling TOP_LEFT
@@ -742,8 +988,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer4
pin_corner_to_sibling TOP_LEFT
@@ -757,8 +1003,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer5
pin_corner_to_sibling TOP_LEFT
@@ -772,8 +1018,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer6
pin_corner_to_sibling TOP_LEFT
@@ -787,8 +1033,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer7
pin_corner_to_sibling TOP_LEFT
@@ -802,8 +1048,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer8
pin_corner_to_sibling TOP_LEFT
@@ -817,8 +1063,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer9
pin_corner_to_sibling TOP_LEFT
@@ -832,8 +1078,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer10
pin_corner_to_sibling TOP_LEFT
@@ -847,8 +1093,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer11
pin_corner_to_sibling TOP_LEFT
@@ -862,8 +1108,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer12
pin_corner_to_sibling TOP_LEFT
@@ -877,8 +1123,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer13
pin_corner_to_sibling TOP_LEFT
@@ -892,8 +1138,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer14
pin_corner_to_sibling TOP_LEFT
@@ -907,8 +1153,8 @@ resource/ui/menus/mods_browse.menu
textAlignment center
wide 104
tall 44
- ypos -44
- xpos -600
+ ypos -42
+ xpos -718
pin_to_sibling BtnServer15
pin_corner_to_sibling TOP_LEFT
@@ -944,8 +1190,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer1
pin_corner_to_sibling TOP_LEFT
@@ -959,8 +1205,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer2
pin_corner_to_sibling TOP_LEFT
@@ -974,8 +1220,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer3
pin_corner_to_sibling TOP_LEFT
@@ -989,8 +1235,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer4
pin_corner_to_sibling TOP_LEFT
@@ -1004,8 +1250,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer5
pin_corner_to_sibling TOP_LEFT
@@ -1019,8 +1265,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer6
pin_corner_to_sibling TOP_LEFT
@@ -1034,8 +1280,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer7
pin_corner_to_sibling TOP_LEFT
@@ -1049,8 +1295,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer8
pin_corner_to_sibling TOP_LEFT
@@ -1064,8 +1310,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer9
pin_corner_to_sibling TOP_LEFT
@@ -1079,8 +1325,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer10
pin_corner_to_sibling TOP_LEFT
@@ -1094,8 +1340,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer11
pin_corner_to_sibling TOP_LEFT
@@ -1109,8 +1355,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer12
pin_corner_to_sibling TOP_LEFT
@@ -1124,8 +1370,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer13
pin_corner_to_sibling TOP_LEFT
@@ -1139,8 +1385,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer14
pin_corner_to_sibling TOP_LEFT
@@ -1154,8 +1400,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -709
+ ypos -42
+ xpos -828
pin_to_sibling BtnServer15
pin_corner_to_sibling TOP_LEFT
@@ -1178,7 +1424,7 @@ resource/ui/menus/mods_browse.menu
pin_to_sibling_corner TOP_RIGHT
navDown BtnServer1
navLeft BtnServerMapTab
- navRight BtnServerLatencyTab
+ navRight BtnServerJoin
navUp BtnFiltersClear
}
@@ -1190,8 +1436,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer1
pin_corner_to_sibling TOP_LEFT
@@ -1205,8 +1451,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer2
pin_corner_to_sibling TOP_LEFT
@@ -1220,8 +1466,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer3
pin_corner_to_sibling TOP_LEFT
@@ -1235,8 +1481,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer4
pin_corner_to_sibling TOP_LEFT
@@ -1250,8 +1496,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer5
pin_corner_to_sibling TOP_LEFT
@@ -1265,8 +1511,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer6
pin_corner_to_sibling TOP_LEFT
@@ -1280,8 +1526,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer7
pin_corner_to_sibling TOP_LEFT
@@ -1295,8 +1541,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer8
pin_corner_to_sibling TOP_LEFT
@@ -1310,8 +1556,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer9
pin_corner_to_sibling TOP_LEFT
@@ -1325,8 +1571,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer10
pin_corner_to_sibling TOP_LEFT
@@ -1340,8 +1586,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer11
pin_corner_to_sibling TOP_LEFT
@@ -1355,8 +1601,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer12
pin_corner_to_sibling TOP_LEFT
@@ -1370,8 +1616,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer13
pin_corner_to_sibling TOP_LEFT
@@ -1385,8 +1631,8 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer14
pin_corner_to_sibling TOP_LEFT
@@ -1400,366 +1646,120 @@ resource/ui/menus/mods_browse.menu
wide 140
textAlignment center
tall 44
- ypos -44
- xpos -860
+ ypos -42
+ xpos -972
pin_to_sibling BtnServer15
pin_corner_to_sibling TOP_LEFT
pin_to_sibling_corner BOTTOM_LEFT
}
- // Latency
- BtnServerLatencyTab
- {
- ControlName RuiButton
- InheritProperties RuiSmallButton
- labelText "#LATENCY_COLUMN"
- wide 110
- xpos 4
-
- scriptID 999
-
- pin_to_sibling BtnServerGamemodeTab
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_RIGHT
- navDown BtnServer1
- navLeft BtnServerGamemodeTab
- navRight BtnServerJoin
- navUp BtnFiltersClear
- }
-
- BtnServerLatency1
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
-
- pin_to_sibling BtnServer1
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency2
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
-
- pin_to_sibling BtnServer2
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency3
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
+ // Dividers:
- pin_to_sibling BtnServer3
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency4
+ // Y
+ YDivider0
{
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
+ ControlName ImagePanel
+ wide 2
+ tall 641
+ visible 1
+ image "vgui/hud/white"
+ drawColor "160 157 149 255"
+ scaleImage 1
+ xpos 3
+ ypos -1
- pin_to_sibling BtnServer4
+ pin_to_sibling BtnServerNameTab
pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
+ pin_to_sibling_corner TOP_LEFT
}
- BtnServerLatency5
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
- pin_to_sibling BtnServer5
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency6
+ YDivider1
{
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
+ ControlName ImagePanel
+ wide 2
+ tall 641
+ visible 1
+ image "vgui/hud/white"
+ drawColor "160 157 149 255"
+ scaleImage 1
+ xpos 3
+ ypos -1
- pin_to_sibling BtnServer6
+ pin_to_sibling BtnServerPlayersTab
pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
+ pin_to_sibling_corner TOP_LEFT
}
- BtnServerLatency7
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
- pin_to_sibling BtnServer7
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency8
+ YDivider2
{
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
+ ControlName ImagePanel
+ wide 2
+ tall 641
+ visible 1
+ image "vgui/hud/white"
+ drawColor "160 157 149 255"
+ scaleImage 1
+ xpos 3
+ ypos -1
- pin_to_sibling BtnServer8
+ pin_to_sibling BtnServerMapTab
pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
+ pin_to_sibling_corner TOP_LEFT
}
- BtnServerLatency9
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
- pin_to_sibling BtnServer9
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency10
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
-
- pin_to_sibling BtnServer10
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency11
+ YDivider3
{
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
+ ControlName ImagePanel
+ wide 2
+ tall 641
+ visible 1
+ image "vgui/hud/white"
+ drawColor "160 157 149 255"
+ scaleImage 1
+ xpos 3
+ ypos -1
- pin_to_sibling BtnServer11
+ pin_to_sibling BtnServerGamemodeTab
pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
+ pin_to_sibling_corner TOP_LEFT
}
- BtnServerLatency12
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
- pin_to_sibling BtnServer12
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency13
+ YDivider4
{
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
+ ControlName ImagePanel
+ wide 2
+ tall 641
+ visible 1
+ image "vgui/hud/white"
+ drawColor "160 157 149 255"
+ scaleImage 1
+ xpos 3
+ ypos -1
- pin_to_sibling BtnServer13
+ pin_to_sibling BtnServerRegionTab
pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
+ pin_to_sibling_corner TOP_LEFT
}
- BtnServerLatency14
- {
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
- pin_to_sibling BtnServer14
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
- BtnServerLatency15
+ // X
+ XDivider0
{
- ControlName Label
- labelText ""
- classname Serverlatency
- textAlignment center
- wide 110
- tall 44
- ypos -44
- xpos -1006
+ ControlName ImagePanel
+ wide 1150
+ tall 2
+ visible 1
+ image "vgui/hud/white"
+ drawColor "160 157 149 255"
+ scaleImage 1
+ ypos 3
+ xpos 37
- pin_to_sibling BtnServer15
- pin_corner_to_sibling TOP_LEFT
+ pin_to_sibling BtnServerRegionTab
+ pin_corner_to_sibling BOTTOM_LEFT
pin_to_sibling_corner BOTTOM_LEFT
}
- // Dividers:
-
- // Y
- YDivider0
- {
- ControlName ImagePanel
- wide 2
- tall 641
- visible 1
- image "vgui/hud/white"
- drawColor "160 157 149 255"
- scaleImage 1
- xpos 3
- ypos -1
-
- pin_to_sibling BtnServerNameTab
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_LEFT
- }
-
- YDivider1
- {
- ControlName ImagePanel
- wide 2
- tall 641
- visible 1
- image "vgui/hud/white"
- drawColor "160 157 149 255"
- scaleImage 1
- xpos 3
- ypos -1
-
- pin_to_sibling BtnServerPlayersTab
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_LEFT
- }
-
- YDivider2
- {
- ControlName ImagePanel
- wide 2
- tall 641
- visible 1
- image "vgui/hud/white"
- drawColor "160 157 149 255"
- scaleImage 1
- xpos 3
- ypos -1
-
- pin_to_sibling BtnServerMapTab
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_LEFT
- }
-
- YDivider3
- {
- ControlName ImagePanel
- wide 2
- tall 641
- visible 1
- image "vgui/hud/white"
- drawColor "160 157 149 255"
- scaleImage 1
- xpos 3
- ypos -1
-
- pin_to_sibling BtnServerGamemodeTab
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_LEFT
- }
-
- YDivider4
- {
- ControlName ImagePanel
- wide 2
- tall 641
- visible 1
- image "vgui/hud/white"
- drawColor "160 157 149 255"
- scaleImage 1
- xpos 3
- ypos -1
-
- pin_to_sibling BtnServerLatencyTab
- pin_corner_to_sibling TOP_LEFT
- pin_to_sibling_corner TOP_LEFT
- }
-
- // X
- XDivider0
- {
- ControlName ImagePanel
- wide 1150
- tall 2
- visible 1
- image "vgui/hud/white"
- drawColor "160 157 149 255"
- scaleImage 1
- ypos 3
- xpos 37
-
- pin_to_sibling BtnServerNameTab
- pin_corner_to_sibling BOTTOM_LEFT
- pin_to_sibling_corner BOTTOM_LEFT
- }
-
// List:
BtnServerDummmyTop {
ControlName RuiButton
@@ -2082,7 +2082,7 @@ resource/ui/menus/mods_browse.menu
wide 40
tall 562
xpos 2
- ypos -40
+ ypos -42
zpos 0
image "vgui/hud/white"
@@ -2099,7 +2099,7 @@ resource/ui/menus/mods_browse.menu
wide 40
tall 562
xpos 2
- ypos -40
+ ypos -42
rui "ui/control_options_description.rpak"
@@ -2120,7 +2120,7 @@ resource/ui/menus/mods_browse.menu
wide 40
tall 562
xpos 2
- ypos -40
+ ypos -42
zpos 1
pin_to_sibling ServerDetailsPanel
@@ -2197,7 +2197,7 @@ resource/ui/menus/mods_browse.menu
font Default_21
allowRightClickMenu 0
allowSpecialCharacters 0
- unicode 0
+ unicode 1
pin_to_sibling BtnSearchLabel
pin_corner_to_sibling TOP_LEFT