MCPcopy Create free account
hub / github.com/axmolengine/axmol / deactiveTabItem

Method deactiveTabItem

core/ui/UITabControl.cpp:413–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413void TabControl::deactiveTabItem(TabItem* item)
414{
415 if (item != nullptr)
416 {
417 item->header->setLocalZOrder(-2);
418 item->header->setScale(1.0f);
419 item->header->setSelected(false);
420 item->container->setVisible(false);
421 _reorderProtectedChildDirty = true;
422 }
423}
424
425void TabControl::copySpecialProperties(Widget* model)
426{

Callers

nothing calls this directly

Calls 4

setLocalZOrderMethod · 0.45
setScaleMethod · 0.45
setSelectedMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected