mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:57:36 +00:00
Flood: Use the new GML compiler
This commit is contained in:
parent
8434b3a0c6
commit
adaf4a9ed5
8 changed files with 59 additions and 17 deletions
56
Userland/Games/Flood/SettingsWidget.gml
Normal file
56
Userland/Games/Flood/SettingsWidget.gml
Normal file
|
@ -0,0 +1,56 @@
|
|||
@Flood::SettingsWidget {
|
||||
fill_with_background_color: true
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 4
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Board rows:"
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
|
||||
@GUI::SpinBox {
|
||||
name: "board_rows_spinbox"
|
||||
max: 32
|
||||
min: 2
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 4
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Board columns:"
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
|
||||
@GUI::SpinBox {
|
||||
name: "board_columns_spinbox"
|
||||
max: 32
|
||||
min: 2
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 10
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "cancel_button"
|
||||
text: "Cancel"
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "ok_button"
|
||||
text: "OK"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue