diff options
Diffstat (limited to 'include/cru/ui')
-rw-r--r-- | include/cru/ui/render/TextRenderObject.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/ui/render/TextRenderObject.hpp b/include/cru/ui/render/TextRenderObject.hpp index 68d2d0ce..d6395f85 100644 --- a/include/cru/ui/render/TextRenderObject.hpp +++ b/include/cru/ui/render/TextRenderObject.hpp @@ -42,6 +42,9 @@ class TextRenderObject : public RenderObject { std::shared_ptr<platform::graphics::IFont> GetFont() const; void SetFont(std::shared_ptr<platform::graphics::IFont> font); + bool IsEditMode(); + void SetEditMode(bool enable); + std::vector<Rect> TextRangeRect(const TextRange& text_range); Rect TextSinglePoint(gsl::index position, bool trailing); platform::graphics::TextHitTestResult TextHitTest(const Point& point); |