aboutsummaryrefslogtreecommitdiff
path: root/src/CGEditor.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-06-05 13:48:29 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-06-05 13:48:29 +0200
commit2a4a20beefa533730d85a75bbc2dc6676fa247b5 (patch)
tree987bea897030e3f5a6114f30acccaef56bb01768 /src/CGEditor.hpp
parent298714449a7c19c7a0f85d2f06305432f8a5251c (diff)
Introduce move based focusing
Diffstat (limited to 'src/CGEditor.hpp')
-rw-r--r--src/CGEditor.hpp2
1 files changed, 2 insertions, 0 deletions
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