From 2a4a20beefa533730d85a75bbc2dc6676fa247b5 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 5 Jun 2023 13:48:29 +0200 Subject: Introduce move based focusing --- src/CGEditor.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/CGEditor.hpp') diff --git a/src/CGEditor.hpp b/src/CGEditor.hpp index e8b5286..72c2785 100644 --- a/src/CGEditor.hpp +++ b/src/CGEditor.hpp @@ -40,5 +40,7 @@ public: std::string GetNAGSymbol(const std::uint8_t) const; /// @brief Convert NAG symbol to id using the NagTable std::uint8_t GetNAGId(const std::string&) const; + /// @brief Try to scroll to focus on a given move + void FocusOnMove(CMI::HalfMove*); }; } // namespace cgeditor \ No newline at end of file -- cgit v1.2.3