diff options
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 |
