diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-06-05 13:48:29 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-06-05 13:48:29 +0200 |
| commit | 2a4a20beefa533730d85a75bbc2dc6676fa247b5 (patch) | |
| tree | 987bea897030e3f5a6114f30acccaef56bb01768 /src/components/Scrollbar.hpp | |
| parent | 298714449a7c19c7a0f85d2f06305432f8a5251c (diff) | |
Introduce move based focusing
Diffstat (limited to 'src/components/Scrollbar.hpp')
| -rw-r--r-- | src/components/Scrollbar.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/Scrollbar.hpp b/src/components/Scrollbar.hpp index 3ed97ae..fa49eca 100644 --- a/src/components/Scrollbar.hpp +++ b/src/components/Scrollbar.hpp @@ -12,5 +12,7 @@ class Scrollbar : public Component { public: Scrollbar(Status* s,bool IsHorizontal); void Refresh(); + /// @brief Goto a given graphical coordinate (if possible using current scroll range) + void Focus(double XorY); }; } // namespace cgeditor
\ No newline at end of file |
