From 41a3025396e05c960ce972ed83e9c9e0a9c70e9e Mon Sep 17 00:00:00 2001 From: F1F7Y <64418963+F1F7Y@users.noreply.github.com> Date: Wed, 16 Feb 2022 23:28:00 +0100 Subject: Update private match map select menu (#194) --- .../resource/ui/menus/panels/map_grid_button.res | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res (limited to 'Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res') diff --git a/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res b/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res new file mode 100644 index 000000000..3a8a915a8 --- /dev/null +++ b/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res @@ -0,0 +1,90 @@ +"resource/ui/menus/panels/map_grid_button.res" +{ + MapImage + { + ControlName RuiPanel + wide 286 + tall 165 + visible 1 + scaleImage 1 + zpos 0 + + // Hud_GetRui() requires this to work + rui "ui/basic_menu_image.rpak" + } + + MapName + { + ControlName Label + zpos 2 + wide 286 + xpos 4 + ypos -4 + + labelText "forwardbase kodaiiiiii" + use_proportional_insets 1 + textinsetx 2 + font Default_21_DropShadow + allcaps 1 + fgcolor_override "255 255 255 255" + + pin_to_sibling MapImage + pin_corner_to_sibling BOTTOM_RIGHT + pin_to_sibling_corner BOTTOM_RIGHT + } + + MapNameBackground + { + ControlName RuiPanel + wide 286 + tall 34 + + rui "ui/knowledgebase_panel.rpak" + + visible 1 + zpos 1 + + pin_to_sibling MapImage + pin_corner_to_sibling BOTTOM_RIGHT + pin_to_sibling_corner BOTTOM_RIGHT + } + + MapButton + { + ControlName RuiButton + InheritProperties RuiSmallButton + wide 286 + tall 165 + } + + MapNameLockedForeground + { + ControlName RuiPanel + wide 286 + tall 165 + + rui "ui/knowledgebase_panel.rpak" + + visible 0 + zpos 5 + + //bgcolor_override "255 255 255 255" + //fgcolor_override "255 255 255 255" + + pin_to_sibling MapImage + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_LEFT + } + + MapLockedImage + { + ControlName ImagePanel + xpos 71 + ypos 0 // 18 to center vertically, looks weird tho + wide 108 + tall 108 + visible 0 + scaleImage 1 + image "ui/menu/common/locked_icon" + } +} \ No newline at end of file -- cgit v1.2.3