diff options
Diffstat (limited to 'src/ui/controls/text_control.h')
-rw-r--r-- | src/ui/controls/text_control.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/controls/text_control.h b/src/ui/controls/text_control.h index 18a258f2..bfdfe20f 100644 --- a/src/ui/controls/text_control.h +++ b/src/ui/controls/text_control.h @@ -79,6 +79,9 @@ namespace cru::ui::controls void RecreateTextLayout(); + // param point is the mouse point relative to this control. + void UpdateCursor(const std::optional<Point>& point); + private: String text_; |