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

Method setColorValid

Gui/InfoViewerWidget.cpp:408–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406} // setColor
407
408void
409InfoViewerWidget::setColorValid(bool valid)
410{
411 if (_colorValid == valid) {
412 return;
413 }
414 _colorValid = valid;
415 if (!valid) {
416 setColor(currentColor[0], currentColor[1], currentColor[2], currentColor[3]);
417 }
418}
419
420void
421InfoViewerWidget::setMousePos(QPoint p)

Callers 3

updateColorPickerMethod · 0.80
pickColorInternalMethod · 0.80

Calls 1

setColorFunction · 0.85

Tested by

no test coverage detected