aboutsummaryrefslogtreecommitdiff
path: root/src/components/MoveTable.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/MoveTable.hpp')
-rw-r--r--src/components/MoveTable.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/MoveTable.hpp b/src/components/MoveTable.hpp
index 1b6323e..3a50a8d 100644
--- a/src/components/MoveTable.hpp
+++ b/src/components/MoveTable.hpp
@@ -50,6 +50,8 @@ class MoveTable : public Component {
typedef struct MoveState {
bool IsFolded=false;
bool IsHidden=false;
+ int Line=0;
+ Element Bound;
} MoveState;
std::uint32_t UpdateMoves(CMI::HalfMove *, std::uint32_t, std::uint32_t,bool only_black);
std::int32_t CurrentMove;
@@ -66,5 +68,6 @@ public:
void Refresh();
std::vector<Element> GetVariationsMarging() { return (VariationMargins); }
void SyncCache();
+ void GetMoveXY(CMI::HalfMove* m, double &X, double &Y);
};
} // namespace cgeditor \ No newline at end of file