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

Method findWidgetStyleBySkin

Tools/LayoutEditor/WidgetTypes.cpp:236–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 }
235
236 WidgetStyle* WidgetTypes::findWidgetStyleBySkin(std::string_view _skinName)
237 {
238 for (auto& widgetType : mWidgetTypes)
239 {
240 for (const auto& skin : widgetType->skin)
241 {
242 if (skin == _skinName)
243 return widgetType;
244 }
245 }
246
247 return nullptr;
248 }
249
250 void WidgetTypes::updateDepth()
251 {

Callers 1

showMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected