aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render/RenderObject.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-03-17 15:04:16 +0800
committercrupest <crupest@outlook.com>2021-03-17 15:04:16 +0800
commitaf2e38b320905bf3b1e5d0969d0811c47289bbfe (patch)
tree18a55d5cf3fc5bea4ab342476dc5a57574808839 /include/cru/ui/render/RenderObject.hpp
parent7703063a5816b089483e78ccd74bb9902ccfbea8 (diff)
downloadcru-af2e38b320905bf3b1e5d0969d0811c47289bbfe.tar.gz
cru-af2e38b320905bf3b1e5d0969d0811c47289bbfe.tar.bz2
cru-af2e38b320905bf3b1e5d0969d0811c47289bbfe.zip
...
Diffstat (limited to 'include/cru/ui/render/RenderObject.hpp')
-rw-r--r--include/cru/ui/render/RenderObject.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/ui/render/RenderObject.hpp b/include/cru/ui/render/RenderObject.hpp
index 8bcd4c62..622c27f2 100644
--- a/include/cru/ui/render/RenderObject.hpp
+++ b/include/cru/ui/render/RenderObject.hpp
@@ -4,6 +4,7 @@
#include "MeasureRequirement.hpp"
#include "cru/common/Base.hpp"
#include "cru/common/Event.hpp"
+#include "cru/platform/GraphBase.hpp"
#include "cru/ui/Base.hpp"
#include <cstddef>
@@ -131,6 +132,7 @@ class RenderObject : public Object {
// This will set offset of this render object and call OnLayoutCore.
void Layout(const Point& offset);
+ virtual Thickness GetOuterSpaceThickness() const;
virtual Rect GetPaddingRect() const;
virtual Rect GetContentRect() const;