diff options
author | crupest <crupest@outlook.com> | 2022-02-09 23:00:49 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-09 23:00:49 +0800 |
commit | d18b5453d7ffd19667ee8ac125b34ab5328f0dc3 (patch) | |
tree | 10b969c744dd0ef90a183e4ffacddc818b86534e /include/cru/ui/Base.h | |
parent | e18c4fb46d7913f337cc25b9a6e3a25359c3f10a (diff) | |
download | cru-d18b5453d7ffd19667ee8ac125b34ab5328f0dc3.tar.gz cru-d18b5453d7ffd19667ee8ac125b34ab5328f0dc3.tar.bz2 cru-d18b5453d7ffd19667ee8ac125b34ab5328f0dc3.zip |
...
Diffstat (limited to 'include/cru/ui/Base.h')
-rw-r--r-- | include/cru/ui/Base.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/cru/ui/Base.h b/include/cru/ui/Base.h index 44f76907..182c00f2 100644 --- a/include/cru/ui/Base.h +++ b/include/cru/ui/Base.h @@ -128,23 +128,6 @@ class CanvasPaintEventArgs { Size paint_size_; }; -enum class FlexDirection { - Horizontal, - HorizontalReverse, - Vertical, - VertivalReverse -}; - -using FlexMainAlignment = Alignment; -using FlexCrossAlignment = Alignment; - -struct FlexChildLayoutData { - float expand_factor = 0; - float shrink_factor = 1; - // nullopt stands for looking at parent's setting - std::optional<FlexCrossAlignment> cross_alignment = std::nullopt; -}; - struct StackChildLayoutData { std::optional<Alignment> horizontal; std::optional<Alignment> vertical; |