From d86a71f79afe0e4dac768f61d6bff690567aca5b Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 24 May 2020 01:40:02 +0800 Subject: ... --- src/ui/render/layout_utility.cpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/ui/render/layout_utility.cpp (limited to 'src/ui/render/layout_utility.cpp') diff --git a/src/ui/render/layout_utility.cpp b/src/ui/render/layout_utility.cpp deleted file mode 100644 index aae62d35..00000000 --- a/src/ui/render/layout_utility.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "cru/ui/render/layout_utility.hpp" - -#include - -namespace cru::ui::render { -Size Min(const Size& left, const Size& right) { - return Size{std::min(left.width, right.width), - std::min(left.height, right.height)}; -} - -Size Max(const Size& left, const Size& right) { - return Size{std::max(left.width, right.width), - std::max(left.height, right.height)}; -} -} // namespace cru::ui::render -- cgit v1.2.3