Files
EscapistsReintroduced/ui/admin_menu/pages/WeightsPage.layout.in
T
jakub d5464f7438
continuous-integration/drone/push Build is passing
Reorganize mission menu and separate design from logic
2026-10-17 18:27:31 +02:00

19 lines
5.3 KiB
Plaintext

FrameWidgetClass { "Is Visible" {{VISIBLE_WeightsPage}} Name "WeightsPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
TextWidgetClass { Name "WeightsHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 4 OffsetTop 4 SizeX 936 OffsetRight -964 SizeY 48 OffsetBottom -52 } Color {{COLOR_TEXT}} Text "Make selected mods or items more common. 1 = normal, 100 = very high, 0 = never. These are relative weights, not percentages." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
ButtonWidgetClass : "{4B5AE6E64037FFB4}UI/layouts/WidgetLibrary/ComboBox/WLib_ComboBox.layout" { Name "WeightsMod" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 58 OffsetTop 58 SizeX 560 OffsetRight -588 SizeY 42 OffsetBottom -100 } components { SCR_ComboBoxComponent "{546B1D464BC32853}" { m_bUseLabel 0 m_sLabel "" m_fSizeWithoutLabel 42 } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "WeightsShow" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 608 OffsetLeft 608 PositionY 58 OffsetTop 58 SizeX 356 OffsetRight -964 SizeY 42 OffsetBottom -100 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Show probabilities" } } }
TextWidgetClass { Name "ModWeightLabel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 112 OffsetTop 112 SizeX 280 OffsetRight -308 SizeY 32 OffsetBottom -144 } Color {{COLOR_TEXT}} Text "Whole mod weight (0-100)" "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "ModWeight" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 310 OffsetLeft 310 PositionY 108 OffsetTop 108 SizeX 90 OffsetRight -400 SizeY 42 OffsetBottom -150 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "ModWeightApply" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 414 OffsetLeft 414 PositionY 108 OffsetTop 108 SizeX 130 OffsetRight -544 SizeY 42 OffsetBottom -150 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "ModWeightNormal" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 558 OffsetLeft 558 PositionY 108 OffsetTop 108 SizeX 184 OffsetRight -742 SizeY 42 OffsetBottom -150 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Normal (1)" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "ModWeightHigh" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 756 OffsetLeft 756 PositionY 108 OffsetTop 108 SizeX 208 OffsetRight -964 SizeY 42 OffsetBottom -150 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Very high (100)" } } }
TextWidgetClass { Name "ModWeightSaved" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 158 OffsetTop 158 SizeX 936 OffsetRight -964 SizeY 26 OffsetBottom -184 } Color {{COLOR_TEXT}} Text "Choose a mod above." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "WeightsPrevious" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 194 OffsetTop 194 SizeX 130 OffsetRight -158 SizeY 38 OffsetBottom -232 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Previous" } } }
TextWidgetClass { Name "WeightsPageState" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 174 OffsetLeft 174 PositionY 194 OffsetTop 194 SizeX 642 OffsetRight -816 SizeY 38 OffsetBottom -232 } Color {{COLOR_TEXT}} Text "Choose a mod to adjust item probabilities." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "WeightsNext" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 834 OffsetLeft 834 PositionY 194 OffsetTop 194 SizeX 130 OffsetRight -964 SizeY 38 OffsetBottom -232 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Next" } } }
ScrollLayoutWidgetClass { Name "WeightsScroll" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 238 OffsetTop 238 SizeX 936 OffsetRight -964 SizeY 148 OffsetBottom -386 } { VerticalLayoutWidgetClass { Name "WeightsContent" Slot AlignableSlot { HorizontalAlign 3 VerticalAlign 3 Padding 8 4 14 4 } { } } } }
TextWidgetClass { Name "WeightsFooter" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 392 OffsetTop 392 SizeX 936 OffsetRight -964 SizeY 38 OffsetBottom -430 } Color {{COLOR_TEXT}} Text "Shown percentages apply when an extra item is chosen. Mod and item weights multiply. Blocked items remain excluded." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
} }