| 565 | } |
| 566 | |
| 567 | void CtrlrComponent::removeFromTab () |
| 568 | { |
| 569 | CtrlrModulator *tabsModulator = owner.getOwnerPanel().getModulator(getProperty(Ids::componentTabName)); |
| 570 | if (tabsModulator) |
| 571 | { |
| 572 | CtrlrTabsComponent *tabsComponent = dynamic_cast<CtrlrTabsComponent*>(tabsModulator->getComponent()); |
| 573 | if (tabsComponent) |
| 574 | { |
| 575 | tabsComponent->setOwned (this, getProperty(Ids::componentTabId), false); |
| 576 | } |
| 577 | } |
| 578 | } |
| 579 | |
| 580 | int CtrlrComponent::snapPosition (int pos, int snapSize, const bool allowSnap) |
| 581 | { |
nothing calls this directly
no test coverage detected