Skip to content

Commit 6a895e0

Browse files
authored
[orx-gui] add windowResizable argument to WindowedGUI (#384)
1 parent 24d3089 commit 6a895e0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

orx-jvm/orx-gui/src/main/kotlin/WindowedGUI.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class WindowedGUI(
1414
val defaultStyles: List<StyleSheet> = defaultStyles(),
1515
val windowClosable: Boolean = false,
1616
val windowAlwaysOntop: Boolean = false,
17+
val windowResizable: Boolean = false,
1718
) : Extension {
1819
override var enabled: Boolean = true
1920
val gui: GUI = GUI(appearance, defaultStyles)
@@ -51,6 +52,7 @@ class WindowedGUI(
5152
alwaysOnTop = windowAlwaysOntop,
5253
width = appearance.barWidth,
5354
height = program.height,
55+
resizable = windowResizable,
5456
position = program.window.position.toInt() - IntVector2(200, 0)
5557
)
5658
) {

0 commit comments

Comments
 (0)