mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
55fe04a6fa
This commit ports the chess application to GML in order to facilitate the addition of widgets in the future.
29 lines
544 B
Text
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"
|
|
}
|
|
}
|