Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 6548a92

Browse files
committed
Add GUI elements for resolution change dialog
1 parent e6ca52a commit 6548a92

File tree

2 files changed

+90
-2
lines changed

2 files changed

+90
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ luac.out
4646
*.manifest
4747

4848
.vs/
49+
_Screenshots/
4950
Base.rte/Settings.ini
5051
Benchmark.rte/
5152
Scenes.rte/

Base.rte/GUIs/MainMenuGUI.ini

Lines changed: 89 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,6 @@ ToolTip =
848848
Checked = Checked
849849
Text = O
850850

851-
852851
[BoxP2Controls]
853852
ControlType = COLLECTIONBOX
854853
Parent = OptionsScreen
@@ -1416,6 +1415,95 @@ ToolTip = If disabled may greatly improve performance at a cost of slightly more
14161415
Checked = Checked
14171416
Text = Precise collisions. Disable to improve performance at a cost of less accurate collisions
14181417

1418+
[ResolutionChangeDialog]
1419+
ControlType = COLLECTIONBOX
1420+
Parent = OptionsScreen
1421+
X = 163
1422+
Y = 0
1423+
Width = 155
1424+
Height = 86
1425+
Visible = False
1426+
Enabled = True
1427+
Name = ResolutionChangeDialog
1428+
Anchor = Left, Top
1429+
ToolTip =
1430+
DrawBackground = True
1431+
DrawType = Image
1432+
DrawColor = 62
1433+
1434+
[LabelResolutionChangeNotice]
1435+
ControlType = LABEL
1436+
Parent = ResolutionChangeDialog
1437+
X = 0
1438+
Y = 5
1439+
Width = 155
1440+
Height = 30
1441+
Visible = True
1442+
Enabled = True
1443+
Name = LabelResolutionChangeNotice
1444+
Anchor = Left, Top
1445+
ToolTip =
1446+
Text = Resolution change during an Activity requires ending it.
1447+
HAlignment = centre
1448+
VAlignment = top
1449+
1450+
[LabelResolutionChangeProceed]
1451+
ControlType = LABEL
1452+
Parent = ResolutionChangeDialog
1453+
X = 0
1454+
Y = 40
1455+
Width = 155
1456+
Height = 15
1457+
Visible = True
1458+
Enabled = True
1459+
Name = LabelResolutionChangeProceed
1460+
Anchor = Left, Top
1461+
ToolTip =
1462+
Text = Do you want to proceed?
1463+
HAlignment = centre
1464+
VAlignment = top
1465+
1466+
[ButtonConfirmResolutionChangeFullscreen]
1467+
ControlType = BUTTON
1468+
Parent = ResolutionChangeDialog
1469+
X = 5
1470+
Y = 60
1471+
Width = 70
1472+
Height = 20
1473+
Visible = False
1474+
Enabled = True
1475+
Name = ButtonConfirmResolutionChangeFullscreen
1476+
Anchor = Left, Top
1477+
ToolTip =
1478+
Text = OK
1479+
1480+
[ButtonConfirmResolutionChange]
1481+
ControlType = BUTTON
1482+
Parent = ResolutionChangeDialog
1483+
X = 5
1484+
Y = 60
1485+
Width = 70
1486+
Height = 20
1487+
Visible = False
1488+
Enabled = True
1489+
Name = ButtonConfirmResolutionChange
1490+
Anchor = Left, Top
1491+
ToolTip =
1492+
Text = OK
1493+
1494+
[ButtonCancelResolutionChange]
1495+
ControlType = BUTTON
1496+
Parent = ResolutionChangeDialog
1497+
X = 80
1498+
Y = 60
1499+
Width = 70
1500+
Height = 20
1501+
Visible = True
1502+
Enabled = True
1503+
Name = ButtonCancelResolutionChange
1504+
Anchor = Left, Top
1505+
ToolTip =
1506+
Text = Cancel
14191507
[ConfigScreen]
14201508
ControlType = COLLECTIONBOX
14211509
Parent = root
@@ -2000,7 +2088,6 @@ DrawBackground = True
20002088
DrawType = Image
20012089
DrawColor = 62
20022090

2003-
20042091
[LabelModManager]
20052092
ControlType = LABEL
20062093
Parent = ModManagerScreen

0 commit comments

Comments
 (0)