Commit graph

3 commits

Author SHA1 Message Date
Michael Catanzaro
c292a01440 Create a ChessWindow and move a bunch of logic there 2020-12-25 11:16:50 -06:00
Michael Catanzaro
07a6086446 Use composite template to build promotion type selector
This also fixes a bug that I introduced with my GTK 4 porting: the
promotion type selector dialog would always display pieces in the color
of the first player to promote a piece, but it should always change
color to match the current player.

Note that I declared all the GtkChild widgets as unowned due to
vala#1121, which I discovered while working on this.
2020-12-24 15:14:47 -06:00
Michael Catanzaro
b9d34b35c8 Move gresource.xml to data/ 2020-12-24 13:12:36 -06:00
Renamed from src/chess.gresource.xml (Browse further)