Implement auto-save
This commit is contained in:
57
mods/common/chrome/settings-gameplay.yaml
Normal file
57
mods/common/chrome/settings-gameplay.yaml
Normal file
@@ -0,0 +1,57 @@
|
||||
Container@GAMEPLAY_PANEL:
|
||||
Logic: GameplaySettingsLogic
|
||||
Width: PARENT_WIDTH
|
||||
Height: PARENT_HEIGHT
|
||||
Children:
|
||||
ScrollPanel@SETTINGS_SCROLLPANEL:
|
||||
Width: PARENT_WIDTH
|
||||
Height: PARENT_HEIGHT
|
||||
CollapseHiddenChildren: True
|
||||
TopBottomSpacing: 5
|
||||
ItemSpacing: 10
|
||||
Children:
|
||||
Background@INPUT_SECTION_HEADER:
|
||||
X: 5
|
||||
Width: PARENT_WIDTH - 24 - 10
|
||||
Height: 13
|
||||
Background: separator
|
||||
ClickThrough: True
|
||||
Children:
|
||||
Label@LABEL:
|
||||
Width: PARENT_WIDTH
|
||||
Height: PARENT_HEIGHT
|
||||
Font: TinyBold
|
||||
Align: Center
|
||||
Text: label-game-play-section-header
|
||||
Container@ROW:
|
||||
Width: PARENT_WIDTH - 24
|
||||
Height: 50
|
||||
Children:
|
||||
Container@AUTO_SAVE_INTERVAL_CONTAINER:
|
||||
X: 10
|
||||
Width: PARENT_WIDTH / 2 - 20
|
||||
Children:
|
||||
Label@AUTO_SAVE_INTERVAL_DROP_DOWN_LABEL:
|
||||
Width: PARENT_WIDTH
|
||||
Height: 20
|
||||
Font: Regular
|
||||
Text: auto-save-interval-label
|
||||
DropDownButton@AUTO_SAVE_INTERVAL_DROP_DOWN:
|
||||
Y: 25
|
||||
Width: PARENT_WIDTH
|
||||
Height: 25
|
||||
Font: Regular
|
||||
Container@AUTO_SAVE_NO_CONTAINER:
|
||||
X: PARENT_WIDTH / 2 + 10
|
||||
Width: PARENT_WIDTH / 2 - 20
|
||||
Children:
|
||||
Label@AUTO_SAVE_FILE_NUMBER_DROP_DOWN_LABEL:
|
||||
Width: PARENT_WIDTH
|
||||
Height: 20
|
||||
Font: Regular
|
||||
Text: auto-save-nr-label
|
||||
DropDownButton@AUTO_SAVE_FILE_NUMBER_DROP_DOWN:
|
||||
Y: 25
|
||||
Width: PARENT_WIDTH
|
||||
Height: 25
|
||||
Font: Regular
|
||||
@@ -7,6 +7,7 @@ Background@SETTINGS_PANEL:
|
||||
INPUT_PANEL: Input
|
||||
HOTKEYS_PANEL: Hotkeys
|
||||
ADVANCED_PANEL: Advanced
|
||||
GAMEPLAY_PANEL: Gameplay
|
||||
X: (WINDOW_WIDTH - WIDTH) / 2
|
||||
Y: (WINDOW_HEIGHT - HEIGHT) / 2
|
||||
Width: 900
|
||||
|
||||
Reference in New Issue
Block a user