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

Method ShowRegions

Tools/SkinEditor/SkinDataUtility.cpp:347–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 }
346
347 void SkinDataUtility::ShowRegions(DataPtr _skinData)
348 {
349 for (Data::VectorData::const_iterator child = _skinData->getChilds().begin();
350 child != _skinData->getChilds().end();
351 child++)
352 {
353 if ((*child)->getType()->getName() != "Region")
354 continue;
355
356 (*child)->setPropertyValue("Visible", "True");
357 }
358 }
359
360}

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
getTypeMethod · 0.45
setPropertyValueMethod · 0.45

Tested by

no test coverage detected