aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/resource/ui/menus/panels
diff options
context:
space:
mode:
authoruniboi <64006268+uniboi@users.noreply.github.com>2022-09-21 21:44:20 +0000
committerGitHub <noreply@github.com>2022-09-21 23:44:20 +0200
commitecd37edc3f833526518cf6a6abb2bd128fd0a51c (patch)
tree035a1ed81a1a7010d2a48d3883eaa5b41887478c /Northstar.Client/mod/resource/ui/menus/panels
parent57c9f05a5fd4f901bd8622829dbee4809990e71a (diff)
downloadNorthstarMods-ecd37edc3f833526518cf6a6abb2bd128fd0a51c.tar.gz
NorthstarMods-ecd37edc3f833526518cf6a6abb2bd128fd0a51c.zip
Change modlist interface (#401)
* Change modlist interface * add the settings file * new current mod enabled indicator * Only show requiredOnClient warning when required * filter by required on client status * fix ONLY_REQUIRED instead of ONLY_NOT_REQUIRED * update list slider position when reopening * colorblind colors * convar for reversed list and allow unicode search * better colors for the blind * Update filtered modlist after changing mod status * fix some things * mod enabled color blind icon * move enabled icon
Diffstat (limited to 'Northstar.Client/mod/resource/ui/menus/panels')
-rw-r--r--Northstar.Client/mod/resource/ui/menus/panels/modlist_settings.res79
1 files changed, 79 insertions, 0 deletions
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 000000000..cd5962384
--- /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
+ }
+}