| 27 | } |
| 28 | |
| 29 | WidgetStyle* WidgetTypes::findWidgetStyle(std::string_view _type) |
| 30 | { |
| 31 | for (auto& widgetType : mWidgetTypes) |
| 32 | { |
| 33 | if (widgetType->name == _type) |
| 34 | { |
| 35 | return widgetType; |
| 36 | } |
| 37 | } |
| 38 | return findWidgetStyle("Widget"); |
| 39 | } |
| 40 | |
| 41 | WidgetTypes::VectorString WidgetTypes::findPossibleValues(std::string_view _name) |
| 42 | { |
no outgoing calls
no test coverage detected