From f1f638100f4bcd88b31c3412e961dbbb5e12ad0a Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 29 Dec 2022 19:58:37 +0100 Subject: Now showing move NAGs is possible --- src/Types.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Types.hpp') diff --git a/src/Types.hpp b/src/Types.hpp index e2ad0e2..7f54d0a 100644 --- a/src/Types.hpp +++ b/src/Types.hpp @@ -29,7 +29,8 @@ enum class Property : std::uint32_t { Bishop = 1 << 19, Rook = 1 << 20, Queen = 1 << 21, - King = 1 << 22 + King = 1 << 22, + Nag = 1 << 23 }; Property operator|(Property lhs, Property rhs); Property &operator|=(Property &lhs, Property rhs); @@ -68,6 +69,8 @@ typedef struct Status { double CanvasWidth, CanvasHeight; double MenuItemWidth = 150, MenuItemHeight = 50; double MoveWidth = 100, MoveHeight = 50; + double NagWidth = 25, NagHeight = MoveHeight; + double NagRightMargin = 0; double MarginBarWidth = 50; double ScrollbarWidth = 30; double MoveIconWidth = 25; -- cgit v1.2.3