serenity/Userland/Games/Chess/PromotionWidget.gml
dgaston 55fe04a6fa Chess: Port application to GML
This commit ports the chess application to GML in order to
facilitate the addition of widgets in the future.
2024-05-16 07:41:05 +01:00

29 lines
544 B
Text

@Chess::PromotionWidget {
fixed_height: 70
fill_with_background_color: true
layout: @GUI::HorizontalBoxLayout {}
@GUI::Button {
fixed_width: 70
fixed_height: 70
name: "queen_button"
}
@GUI::Button {
fixed_width: 70
fixed_height: 70
name: "knight_button"
}
@GUI::Button {
fixed_width: 70
fixed_height: 70
name: "rook_button"
}
@GUI::Button {
fixed_width: 70
fixed_height: 70
name: "bishop_button"
}
}