MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / initializeExtraKnobs

Method initializeExtraKnobs

Gui/MultiInstancePanel.cpp:1882–1894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1880}
1881
1882void
1883TrackerPanelV1::initializeExtraKnobs()
1884{
1885 if ( !getMainInstance()->isPointTrackerNode() ) {
1886 return;
1887 }
1888 _imp->transformPage = AppManager::createKnob<KnobPage>(this, tr("Transform"), 1, false);
1889
1890 _imp->referenceFrame = AppManager::createKnob<KnobInt>(this, tr("Reference Frame"), 1, false);
1891 _imp->referenceFrame->setAnimationEnabled(false);
1892 _imp->referenceFrame->setHintToolTip( tr("This is the frame number at which the transform will be an identity.") );
1893 _imp->transformPage->addKnob(_imp->referenceFrame);
1894}
1895
1896void
1897TrackerPanelV1::setIconForButton(KnobButton* knob)

Callers

nothing calls this directly

Calls 5

getMainInstanceFunction · 0.85
isPointTrackerNodeMethod · 0.80
setAnimationEnabledMethod · 0.45
setHintToolTipMethod · 0.45
addKnobMethod · 0.45

Tested by

no test coverage detected