mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 08:41:15 +00:00
e119d7d6b9
With this patch you can use right-click to mark a square on the board. You can add modifier keys to the click to change to alternate color (with CTRL) or secondary color (with Shift). If you right-click and drag from one square to another you will create an arrow. The markings go away as soon as you left-click on the board or the board state changes. Note: The arrows sometimes look weird, and horizontal ones get cut off. They also don't account for alpha. This is not a bug in Chess code, rather, likely in the fill_path() function that's used to draw the arrows. If anyone might know what's up with that I urge you to take a look. :) |
||
---|---|---|
.. | ||
ChessWidget.cpp | ||
ChessWidget.h | ||
CMakeLists.txt | ||
Engine.cpp | ||
Engine.h | ||
main.cpp | ||
PromotionDialog.cpp | ||
PromotionDialog.h |