diff options
author | crupest <crupest@outlook.com> | 2021-03-17 15:04:16 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-03-17 15:04:16 +0800 |
commit | af2e38b320905bf3b1e5d0969d0811c47289bbfe (patch) | |
tree | 18a55d5cf3fc5bea4ab342476dc5a57574808839 /include/cru/ui/render/ScrollRenderObject.hpp | |
parent | 7703063a5816b089483e78ccd74bb9902ccfbea8 (diff) | |
download | cru-af2e38b320905bf3b1e5d0969d0811c47289bbfe.tar.gz cru-af2e38b320905bf3b1e5d0969d0811c47289bbfe.tar.bz2 cru-af2e38b320905bf3b1e5d0969d0811c47289bbfe.zip |
...
Diffstat (limited to 'include/cru/ui/render/ScrollRenderObject.hpp')
-rw-r--r-- | include/cru/ui/render/ScrollRenderObject.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/ui/render/ScrollRenderObject.hpp b/include/cru/ui/render/ScrollRenderObject.hpp index aed25f8e..7b98ab72 100644 --- a/include/cru/ui/render/ScrollRenderObject.hpp +++ b/include/cru/ui/render/ScrollRenderObject.hpp @@ -60,6 +60,8 @@ class ScrollRenderObject : public RenderObject { // Param margin is just for convenience and it will just add to the rect. void ScrollToContain(const Rect& rect, const Thickness& margin = Thickness{}); + std::u16string_view GetName() const override { return u"ScrollRenderObject"; } + protected: void OnDrawCore(platform::graphics::IPainter* painter) override; |