| 1058 | #ifndef MYGUI_DONT_USE_OBSOLETE |
| 1059 | |
| 1060 | static std::string_view convertAlignToDirection(std::string_view _value) |
| 1061 | { |
| 1062 | Align align = utility::parseValue<Align>(_value); |
| 1063 | if (align == Align::Right) |
| 1064 | return FlowDirection(FlowDirection::RightToLeft).print(); |
| 1065 | if (align == Align::Top) |
| 1066 | return FlowDirection(FlowDirection::TopToBottom).print(); |
| 1067 | if (align == Align::Bottom) |
| 1068 | return FlowDirection(FlowDirection::BottomToTop).print(); |
| 1069 | return FlowDirection(FlowDirection::LeftToRight).print(); |
| 1070 | } |
| 1071 | |
| 1072 | static std::string convertRectToCoord(std::string_view _value) |
| 1073 | { |
no test coverage detected