diff options
author | crupest <crupest@outlook.com> | 2018-12-06 05:44:38 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-12-06 05:44:38 +0800 |
commit | 81fd0725d020e9f302c0d40fd5a5700d3dc871aa (patch) | |
tree | 1a99936949271641fbdfa3b4fb7ea448344164f7 /src/ui/controls/frame_layout.hpp | |
parent | f0e2b2d3763dd100a5e9d6cda566724d2b7da965 (diff) | |
download | cru-81fd0725d020e9f302c0d40fd5a5700d3dc871aa.tar.gz cru-81fd0725d020e9f302c0d40fd5a5700d3dc871aa.tar.bz2 cru-81fd0725d020e9f302c0d40fd5a5700d3dc871aa.zip |
Done.
Diffstat (limited to 'src/ui/controls/frame_layout.hpp')
-rw-r--r-- | src/ui/controls/frame_layout.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/controls/frame_layout.hpp b/src/ui/controls/frame_layout.hpp index 45971584..c2d6f0d6 100644 --- a/src/ui/controls/frame_layout.hpp +++ b/src/ui/controls/frame_layout.hpp @@ -9,7 +9,7 @@ namespace cru::ui::controls { - class FrameLayout : public Control + class FrameLayout : public MultiChildControl { public: static constexpr auto control_type = L"FrameLayout"; @@ -32,5 +32,9 @@ namespace cru::ui::controls ~FrameLayout() override; StringView GetControlType() const override final; + + protected: + Size OnMeasureContent(const Size& available_size, const AdditionalMeasureInfo& additional_info) override; + void OnLayoutContent(const Rect& rect, const AdditionalLayoutInfo& additional_info) override; }; } |