aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/base.hpp')
-rw-r--r--include/cru/ui/base.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/cru/ui/base.hpp b/include/cru/ui/base.hpp
index 90a3f746..703d61fc 100644
--- a/include/cru/ui/base.hpp
+++ b/include/cru/ui/base.hpp
@@ -27,4 +27,18 @@ using cru::platform::colors::black;
using cru::platform::colors::skyblue;
using cru::platform::colors::white;
} // namespace colors
+
+namespace internal {
+constexpr int align_start = 0;
+constexpr int align_end = align_start + 1;
+constexpr int align_center = align_end + 1;
+constexpr int align_stretch = align_center + 1;
+} // namespace internal
+
+enum class Alignment {
+ Start = internal::align_start,
+ End = internal::align_end,
+ Center = internal::align_center,
+ Stretch = internal::align_stretch
+};
} // namespace cru::ui