aboutsummaryrefslogtreecommitdiff
path: root/src/Types.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-29 19:58:37 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-29 19:58:37 +0100
commitf1f638100f4bcd88b31c3412e961dbbb5e12ad0a (patch)
tree1a66d6b192985d272d3fbb97f06edaaea92c4acf /src/Types.hpp
parenta90469e71a821d152ae31d16bd8b78793ada98d6 (diff)
Now showing move NAGs is possible
Diffstat (limited to 'src/Types.hpp')
-rw-r--r--src/Types.hpp5
1 files changed, 4 insertions, 1 deletions
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;