aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/Base.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-27 22:16:28 +0800
committercrupest <crupest@outlook.com>2021-02-27 22:16:28 +0800
commit4a0c86d94a06e72be0988062d49a19c05142434a (patch)
treeb99a9614a75a460ebac21e7bd79a7dea44cb8c39 /include/cru/ui/Base.hpp
parent9c2f860ea80310f87b62a2947b4ddea5e7d85587 (diff)
downloadcru-4a0c86d94a06e72be0988062d49a19c05142434a.tar.gz
cru-4a0c86d94a06e72be0988062d49a19c05142434a.tar.bz2
cru-4a0c86d94a06e72be0988062d49a19c05142434a.zip
...
Diffstat (limited to 'include/cru/ui/Base.hpp')
-rw-r--r--include/cru/ui/Base.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/cru/ui/Base.hpp b/include/cru/ui/Base.hpp
index b2939a0b..fbdfec77 100644
--- a/include/cru/ui/Base.hpp
+++ b/include/cru/ui/Base.hpp
@@ -43,9 +43,11 @@ class RenderObject;
namespace style {
class StyleRuleSet;
class StyleRuleSetBind;
-}
+} // namespace style
//-------------------- region: basic types --------------------
+enum class Direction { Horizontal, Vertical };
+
namespace internal {
constexpr int align_start = 0;
constexpr int align_end = align_start + 1;