MCPcopy Create free account
hub / github.com/MyGUI/mygui / findWidgetStyle

Method findWidgetStyle

Tools/LayoutEditor/WidgetTypes.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 9

checkUserDataMethod · 0.80
parseWidgetMethod · 0.80
updateMethod · 0.80
moveNewWidgetMethod · 0.80
onFillValuesMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected