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

Method updateGUI

Gui/KnobGuiButton.cpp:209–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void
210KnobGuiButton::updateGUI(int /*dimension*/)
211{
212 KnobButtonPtr k = _knob.lock();
213
214 if ( k->getIsCheckable() ) {
215 bool checked = k->getValue();
216 _button->setDown(checked);
217 _button->setChecked(checked);
218 }
219}
220
221void
222KnobGuiButton::setEnabled()

Callers

nothing calls this directly

Calls 4

getIsCheckableMethod · 0.80
lockMethod · 0.45
getValueMethod · 0.45
setCheckedMethod · 0.45

Tested by

no test coverage detected