1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 12:55:07 +00:00
serenity/Userland/Games/Minesweeper/MainWidget.gml
tetektoza 4db9996cc0 Minesweeper: Port to GML compilation
This patch ports minesweeper to GML compilation,
and introduces a few changes made to associated files.
2023-10-24 21:47:18 +02:00

52 lines
1.1 KiB
Text

@Minesweeper::MainWidget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
spacing: 0
}
@GUI::HorizontalSeparator {
name: "separator"
fixed_height: 2
}
@GUI::Widget {
name: "container"
fixed_height: 36
layout: @GUI::HorizontalBoxLayout {}
@GUI::Layout::Spacer {}
@GUI::ImageWidget {
name: "flag_image"
bitmap: "/res/graphics/minesweeper/flag.png"
}
@GUI::Label {
name: "flag_label"
autosize: true
}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "face_button"
fixed_size: [36, 36]
focus_policy: "TabFocus"
button_style: "Coolbar"
}
@GUI::Layout::Spacer {}
@GUI::ImageWidget {
name: "time_image"
bitmap: "/res/graphics/minesweeper/timer.png"
}
@GUI::Label {
name: "time_label"
autosize: true
}
@GUI::Layout::Spacer {}
}
}