aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render/TextRenderObject.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-12 21:43:40 +0800
committercrupest <crupest@outlook.com>2022-03-12 21:43:40 +0800
commit3ce391f85443ce8bb47a7e0ff3bef0051cf4006e (patch)
tree59f8c4b4a6c66676d206bda5bfce3ff5020e4d26 /include/cru/ui/render/TextRenderObject.h
parentf3b5009040a05e8efd15c385cacf5dd594ecf801 (diff)
downloadcru-3ce391f85443ce8bb47a7e0ff3bef0051cf4006e.tar.gz
cru-3ce391f85443ce8bb47a7e0ff3bef0051cf4006e.tar.bz2
cru-3ce391f85443ce8bb47a7e0ff3bef0051cf4006e.zip
...
Diffstat (limited to 'include/cru/ui/render/TextRenderObject.h')
-rw-r--r--include/cru/ui/render/TextRenderObject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/ui/render/TextRenderObject.h b/include/cru/ui/render/TextRenderObject.h
index 16aff29d..f12ac72f 100644
--- a/include/cru/ui/render/TextRenderObject.h
+++ b/include/cru/ui/render/TextRenderObject.h
@@ -101,6 +101,9 @@ class CRU_UI_API TextRenderObject : public RenderObject {
// See remarks of this class.
Size OnMeasureContent(const MeasureRequirement& requirement,
const MeasureSize& preferred_size) override;
+
+ Size OnMeasureContent1(const BoxConstraint& constraint) override;
+
void OnLayoutContent(const Rect& content_rect) override;
private: