diff options
author | crupest <crupest@outlook.com> | 2020-03-03 20:22:36 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-03 20:22:36 +0800 |
commit | 47053829c322c43032244937cb63f9da178b852d (patch) | |
tree | d17b81cdf61b3a48eb978176cfb57dda841da9d1 /include/cru/ui/render/layout_utility.hpp | |
parent | b0946c0e6dc163fe981f230302a1976449150907 (diff) | |
download | cru-47053829c322c43032244937cb63f9da178b852d.tar.gz cru-47053829c322c43032244937cb63f9da178b852d.tar.bz2 cru-47053829c322c43032244937cb63f9da178b852d.zip |
Write canvas render object layout logic.
Diffstat (limited to 'include/cru/ui/render/layout_utility.hpp')
-rw-r--r-- | include/cru/ui/render/layout_utility.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/cru/ui/render/layout_utility.hpp b/include/cru/ui/render/layout_utility.hpp new file mode 100644 index 00000000..38191ad5 --- /dev/null +++ b/include/cru/ui/render/layout_utility.hpp @@ -0,0 +1,6 @@ +#include "../base.hpp" + +namespace cru::ui::render { + Size Min(const Size& left, const Size& right); + Size Max(const Size& left, const Size& right); +} |