From c2f1c3d14f7328e5ce67d1acdc63e6bbe81bf6dd Mon Sep 17 00:00:00 2001 From: Northstar Date: Sat, 26 Feb 2022 19:50:38 -0300 Subject: Reformat .res files --- .../mod/resource/ui/menus/panels/map_grid.res | 208 ++++++++++----------- .../resource/ui/menus/panels/map_grid_button.res | 138 +++++++------- 2 files changed, 173 insertions(+), 173 deletions(-) (limited to 'Northstar.Client/mod/resource/ui') diff --git a/Northstar.Client/mod/resource/ui/menus/panels/map_grid.res b/Northstar.Client/mod/resource/ui/menus/panels/map_grid.res index 3853faa1e..0c82bcb25 100644 --- a/Northstar.Client/mod/resource/ui/menus/panels/map_grid.res +++ b/Northstar.Client/mod/resource/ui/menus/panels/map_grid.res @@ -3,199 +3,199 @@ GridButton0x0 { ControlName CNestedPanel - wide 286 - tall 165 + wide 286 + tall 165 - Classname MapGridButtons - scriptID 0 + Classname MapGridButtons + scriptID 0 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" } GridButton1x0 { ControlName CNestedPanel - wide 286 - tall 165 - xpos 2 + wide 286 + tall 165 + xpos 2 - Classname MapGridButtons - scriptID 1 + Classname MapGridButtons + scriptID 1 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton0x0 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_RIGHT + pin_to_sibling GridButton0x0 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT } GridButton2x0 { ControlName CNestedPanel - wide 286 - tall 165 - xpos 2 + wide 286 + tall 165 + xpos 2 - Classname MapGridButtons - scriptID 2 + Classname MapGridButtons + scriptID 2 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton1x0 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_RIGHT + pin_to_sibling GridButton1x0 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT } GridButton0x1 { ControlName CNestedPanel - wide 286 - tall 165 - ypos 2 + wide 286 + tall 165 + ypos 2 - Classname MapGridButtons - scriptID 3 + Classname MapGridButtons + scriptID 3 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton0x0 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner BOTTOM_LEFT + pin_to_sibling GridButton0x0 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner BOTTOM_LEFT } GridButton1x1 { ControlName CNestedPanel - wide 286 - tall 165 - xpos 2 + wide 286 + tall 165 + xpos 2 - Classname MapGridButtons - scriptID 4 + Classname MapGridButtons + scriptID 4 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton0x1 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_RIGHT + pin_to_sibling GridButton0x1 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT } GridButton2x1 { ControlName CNestedPanel - wide 286 - tall 165 - xpos 2 + wide 286 + tall 165 + xpos 2 - Classname MapGridButtons - scriptID 5 + Classname MapGridButtons + scriptID 5 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton1x1 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_RIGHT + pin_to_sibling GridButton1x1 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT } GridButton0x2 { ControlName CNestedPanel - wide 286 - tall 165 - ypos 2 + wide 286 + tall 165 + ypos 2 - Classname MapGridButtons - scriptID 6 + Classname MapGridButtons + scriptID 6 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton0x1 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner BOTTOM_LEFT + pin_to_sibling GridButton0x1 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner BOTTOM_LEFT } GridButton1x2 { ControlName CNestedPanel - wide 286 - tall 165 - xpos 2 + wide 286 + tall 165 + xpos 2 - Classname MapGridButtons - scriptID 7 + Classname MapGridButtons + scriptID 7 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton0x2 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_RIGHT + pin_to_sibling GridButton0x2 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT } GridButton2x2 { ControlName CNestedPanel - wide 286 - tall 165 - xpos 2 + wide 286 + tall 165 + xpos 2 - Classname MapGridButtons - scriptID 8 + Classname MapGridButtons + scriptID 8 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton1x2 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_RIGHT + pin_to_sibling GridButton1x2 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT } GridButton0x3 { ControlName CNestedPanel - wide 286 - tall 165 - ypos 2 + wide 286 + tall 165 + ypos 2 - Classname MapGridButtons - scriptID 9 + Classname MapGridButtons + scriptID 9 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton0x2 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner BOTTOM_LEFT + pin_to_sibling GridButton0x2 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner BOTTOM_LEFT } GridButton1x3 { ControlName CNestedPanel - wide 286 - tall 165 - xpos 2 + wide 286 + tall 165 + xpos 2 - Classname MapGridButtons - scriptID 10 + Classname MapGridButtons + scriptID 10 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton0x3 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_RIGHT + pin_to_sibling GridButton0x3 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT } GridButton2x3 { ControlName CNestedPanel - wide 286 - tall 165 - xpos 2 + wide 286 + tall 165 + xpos 2 - Classname MapGridButtons - scriptID 11 + Classname MapGridButtons + scriptID 11 - controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" - pin_to_sibling GridButton1x3 - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_RIGHT + pin_to_sibling GridButton1x3 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT } } \ No newline at end of file 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 index 3a8a915a8..23c040db1 100644 --- a/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res +++ b/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res @@ -1,90 +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 + { + ControlName RuiPanel + wide 286 + tall 165 + visible 1 + scaleImage 1 + zpos 0 + + // Hud_GetRui() requires this to work + rui "ui/basic_menu_image.rpak" + } - 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 + MapName { - ControlName RuiPanel + 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" + rui "ui/knowledgebase_panel.rpak" - visible 1 - zpos 1 + visible 1 + zpos 1 - pin_to_sibling MapImage - pin_corner_to_sibling BOTTOM_RIGHT - pin_to_sibling_corner BOTTOM_RIGHT + 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 + + MapButton { - ControlName RuiPanel + ControlName RuiButton + InheritProperties RuiSmallButton wide 286 tall 165 + } - rui "ui/knowledgebase_panel.rpak" + 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" + visible 0 + zpos 5 - pin_to_sibling MapImage - pin_corner_to_sibling TOP_LEFT - pin_to_sibling_corner TOP_LEFT + //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 + + 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" + 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