Create overlays dropdown

This commit is contained in:
Gustas
2022-01-23 12:39:05 +02:00
committed by abcdefg30
parent 2f130b17ba
commit 04b456d6c2
3 changed files with 100 additions and 67 deletions

View File

@@ -584,19 +584,8 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Text: History
Font: Bold
Button@BUILDABLE_BUTTON:
X: WINDOW_RIGHT - 1020
Y: 5
Width: 100
Height: 25
Text: Buildable
Font: Bold
Key: f2
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: Toggle unbuildable cells
TooltipContainer: TOOLTIP_CONTAINER
Button@UNDO_BUTTON:
X: WINDOW_RIGHT - 910
X: WINDOW_RIGHT - 800
Y: 5
Height: 25
Width: 100
@@ -607,7 +596,7 @@ Container@EDITOR_WORLD_ROOT:
TooltipText: Undo last step
TooltipContainer: TOOLTIP_CONTAINER
Button@REDO_BUTTON:
X: WINDOW_RIGHT - 800
X: WINDOW_RIGHT - 690
Y: 5
Height: 25
Width: 100
@@ -617,17 +606,6 @@ Container@EDITOR_WORLD_ROOT:
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: Redo last step
TooltipContainer: TOOLTIP_CONTAINER
Button@GRID_BUTTON:
X: WINDOW_RIGHT - 690
Y: 5
Width: 100
Height: 25
Text: Grid
Font: Bold
Key: f1
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: Toggle the terrain grid
TooltipContainer: TOOLTIP_CONTAINER
Button@COPYPASTE_BUTTON:
X: WINDOW_RIGHT - 580
Y: 5
@@ -645,6 +623,13 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Text: Copy Filters
Font: Bold
DropDownButton@OVERLAY_BUTTON:
X: WINDOW_RIGHT - 950
Y: 5
Width: 140
Height: 25
Text: Overlays
Font: Bold
Label@COORDINATE_LABEL:
X: 10
Width: 50
@@ -697,3 +682,14 @@ ScrollPanel@COPY_FILTER_PANEL:
Width: PARENT_RIGHT - 29
Height: 20
Visible: false
ScrollPanel@OVERLAY_PANEL:
Width: 140
Height: 45
Children:
Checkbox@CATEGORY_TEMPLATE:
X: 5
Y: 5
Width: PARENT_RIGHT - 29
Height: 20
Visible: false

View File

@@ -580,18 +580,8 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Text: Copy Filters
Font: Bold
Button@GRID_BUTTON:
X: 420
Width: 70
Height: 25
Text: Grid
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: Toggle the terrain grid
TooltipContainer: TOOLTIP_CONTAINER
Font: Bold
Key: f1
Button@UNDO_BUTTON:
X: 500
X: 420
Height: 25
Width: 90
Text: Undo
@@ -601,7 +591,7 @@ Container@EDITOR_WORLD_ROOT:
TooltipText: Undo last step
TooltipContainer: TOOLTIP_CONTAINER
Button@REDO_BUTTON:
X: 600
X: 520
Height: 25
Width: 90
Text: Redo
@@ -610,25 +600,21 @@ Container@EDITOR_WORLD_ROOT:
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: Redo last step
TooltipContainer: TOOLTIP_CONTAINER
Button@BUILDABLE_BUTTON:
X: 700
Width: 90
DropDownButton@OVERLAY_BUTTON:
X: 620
Width: 140
Height: 25
Text: Buildable
Text: Overlays
Font: Bold
Key: f2
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: Toggle unbuildable cells
TooltipContainer: TOOLTIP_CONTAINER
Label@COORDINATE_LABEL:
X: 835
X: 770
Width: 50
Height: 25
Align: Left
Font: Bold
Contrast: true
Label@CASH_LABEL:
X: 950
X: 885
Width: 50
Height: 25
Align: Left
@@ -674,3 +660,14 @@ ScrollPanel@COPY_FILTER_PANEL:
Width: PARENT_RIGHT - 29
Height: 20
Visible: false
ScrollPanel@OVERLAY_PANEL:
Width: 140
Height: 45
Children:
Checkbox@CATEGORY_TEMPLATE:
X: 5
Y: 5
Width: PARENT_RIGHT - 29
Height: 20
Visible: false