diff options
author | F1F7Y <that.fifty@gmail.com> | 2021-12-30 18:38:42 +0100 |
---|---|---|
committer | F1F7Y <that.fifty@gmail.com> | 2021-12-30 18:38:42 +0100 |
commit | d166991d014b2e83c1b337516da152316e429f68 (patch) | |
tree | e26a283e09c96682c3a0bce558986322cd50d7d6 /Northstar.Client/mod/resource/ui/menus | |
parent | 3393142c717b4f450fda77e5a1f11b2573590cd5 (diff) | |
download | NorthstarMods-d166991d014b2e83c1b337516da152316e429f68.tar.gz NorthstarMods-d166991d014b2e83c1b337516da152316e429f68.zip |
Add server count; improve UI
Diffstat (limited to 'Northstar.Client/mod/resource/ui/menus')
-rw-r--r-- | Northstar.Client/mod/resource/ui/menus/server_browser.menu | 83 |
1 files changed, 62 insertions, 21 deletions
diff --git a/Northstar.Client/mod/resource/ui/menus/server_browser.menu b/Northstar.Client/mod/resource/ui/menus/server_browser.menu index feca06fb..3bc5e4e5 100644 --- a/Northstar.Client/mod/resource/ui/menus/server_browser.menu +++ b/Northstar.Client/mod/resource/ui/menus/server_browser.menu @@ -173,9 +173,12 @@ resource/ui/menus/mods_browse.menu // PasswordProtected - // BtnServerPasswordProtected (lock icons) dont pin to specified siblings + // BtnServerPasswordProtectedx (lock icons) dont pin to specified siblings // Their 0,0 is the screen 0,0 - // Too lazy to fix hopefully doesn't break on other resolutions + // I have no idea why, current ypos values hold up pretty well, but some users may still notice the missalignment + // Tried evrything, if I find a difeerent way to do this will try + // - Fifty#8113 + BtnServerPasswordProtectedTab { ControlName ImagePanel @@ -184,7 +187,7 @@ resource/ui/menus/mods_browse.menu wide 48 tall 48 - pin_to_sibling RowButtonsAnchor + pin_to_sibling RowButtonsAnchor pin_corner_to_sibling TOP_LEFT pin_to_sibling_corner TOP_LEFT } @@ -193,16 +196,18 @@ resource/ui/menus/mods_browse.menu { ControlName ImagePanel classname ServerLock - image "ui/menu/common/locked_icon" + image "ui/menu/common/locked_icon" scaleImage 1 wide 48 - tall 48 - xpos 94 - ypos 200 + tall 48 + xpos 94 + ypos 200 + + pin_to_sibling FilterPanel + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_LEFT + - pin_to_sibling BtnServer1 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner BOTTOM_LEFT } BtnServerPasswordProtected2 { @@ -216,8 +221,8 @@ resource/ui/menus/mods_browse.menu ypos 239 pin_to_sibling BtnServer2 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner BOTTOM_LEFT + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_LEFT } BtnServerPasswordProtected3 { @@ -231,8 +236,8 @@ resource/ui/menus/mods_browse.menu ypos 279 pin_to_sibling BtnServer3 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner BOTTOM_LEFT + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_LEFT } BtnServerPasswordProtected4 { @@ -246,8 +251,8 @@ resource/ui/menus/mods_browse.menu ypos 319 pin_to_sibling BtnServer4 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner BOTTOM_LEFT + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_LEFT } BtnServerPasswordProtected5 { @@ -261,8 +266,8 @@ resource/ui/menus/mods_browse.menu ypos 359 pin_to_sibling BtnServer5 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner BOTTOM_LEFT + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_LEFT } BtnServerPasswordProtected6 { @@ -348,7 +353,7 @@ resource/ui/menus/mods_browse.menu wide 48 tall 48 xpos 94 - ypos 399 + ypos 599 pin_to_sibling BtnServer11 pin_corner_to_sibling TOP_LEFT @@ -2566,13 +2571,12 @@ resource/ui/menus/mods_browse.menu pin_corner_to_sibling TOP_LEFT pin_to_sibling_corner BOTTOM_LEFT } - InGamePlayerCount { ControlName Label auto_wide_tocontents 1 tall 40 - labelText "" + labelText "99999" font Default_28_ShadowGlow bgcolor_override "0 0 0 120" fgcolor_override "107 166 196 200" @@ -2585,6 +2589,43 @@ resource/ui/menus/mods_browse.menu pin_to_sibling_corner TOP_RIGHT } + TotalServerLabel + { + ControlName Label + auto_wide_tocontents 1 + tall 40 + labelText "#TOTAL_SERVERS" + xpos 46 + visible 1 + zpos 101 + + font Default_28_ShadowGlow + bgcolor_override "0 0 0 120" + fgcolor_override "255 255 255 175" + visible 1 + + pin_to_sibling InGamePlayerCount + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + TotalServerCount + { + ControlName Label + auto_wide_tocontents 1 + tall 40 + labelText "9999" + font Default_28_ShadowGlow + bgcolor_override "0 0 0 120" + fgcolor_override "196 108 108 200" + xpos 6 + visible 1 + zpos 101 + + pin_to_sibling TotalServerLabel + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + FooterButtons { |