summaryrefslogtreecommitdiff
path: root/Games/Chess/ChessWidget.h
diff options
context:
space:
mode:
authorPeter Elliott <pelliott@ualberta.ca>2020-08-11 22:53:11 -0600
committerAndreas Kling <kling@serenityos.org>2020-08-15 20:54:02 +0200
commitabd1f7e5635dc0bee2b490281a463d60ffbf2890 (patch)
tree8f00e597473f31dbd0c7eb53a3ee319a8cfd4b3c /Games/Chess/ChessWidget.h
parent9d4047272188ea21261db551dfa9cc90cff51530 (diff)
downloadserenity-abd1f7e5635dc0bee2b490281a463d60ffbf2890.zip
Chess: Add pawn promotion to any piece
Diffstat (limited to 'Games/Chess/ChessWidget.h')
-rw-r--r--Games/Chess/ChessWidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Games/Chess/ChessWidget.h b/Games/Chess/ChessWidget.h
index 5762ea2e58..f8e0b3d624 100644
--- a/Games/Chess/ChessWidget.h
+++ b/Games/Chess/ChessWidget.h
@@ -59,6 +59,7 @@ public:
bool drag_enabled() const { return m_drag_enabled; }
void set_drag_enabled(bool e) { m_drag_enabled = e; }
+ RefPtr<Gfx::Bitmap> get_piece_graphic(const Chess::Piece& piece) const;
void reset();