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

Method OfxPushButtonInstance

Engine/OfxParamInstance.cpp:586–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584////////////////////////// OfxPushButtonInstance /////////////////////////////////////////////////
585
586OfxPushButtonInstance::OfxPushButtonInstance(const OfxEffectInstancePtr& node,
587 OFX::Host::Param::Descriptor & descriptor)
588 : OfxParamToKnob(node)
589 , OFX::Host::Param::PushbuttonInstance( descriptor, node->effectInstance() )
590{
591 _knob = checkIfKnobExistsWithNameOrCreate<KnobButton>(descriptor.getName(), this, 1);
592}
593
594// callback which should set enabled state as appropriate
595void

Callers

nothing calls this directly

Calls 2

effectInstanceMethod · 0.80
getNameMethod · 0.80

Tested by

no test coverage detected