1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:47:44 +00:00

2048: Convert to GML

This commit is contained in:
implicitfield 2022-10-17 20:03:09 +03:00 committed by Linus Groh
parent a6ba82fc49
commit 5d77daebf3
5 changed files with 125 additions and 44 deletions

View file

@ -0,0 +1,70 @@
@GUI::Frame {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 4
}
@GUI::Label {
text: "Board size"
text_alignment: "CenterLeft"
}
@GUI::SpinBox {
name: "board_size_spinbox"
max: 100
min: 2
}
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 4
}
@GUI::Label {
text: "Target tile"
text_alignment: "CenterLeft"
}
@GUI::Label {
name: "tile_value_label"
text_alignment: "CenterRight"
}
@GUI::SpinBox {
name: "target_spinbox"
min: 3
}
}
@GUI::CheckBox {
name: "evil_ai_checkbox"
text: "Evil AI"
}
@GUI::CheckBox {
name: "temporary_checkbox"
text: "Temporarily apply changes"
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 10
}
@GUI::Button {
name: "cancel_button"
text: "Cancel"
}
@GUI::Button {
name: "ok_button"
text: "OK"
}
}
}