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

Method setColorApproximated

Gui/InfoViewerWidget.cpp:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void
291InfoViewerWidget::setColorApproximated(bool approx)
292{
293 if (_colorApprox == approx) {
294 return;
295 }
296 _colorApprox = approx;
297 setColor(currentColor[0], currentColor[1], currentColor[2], currentColor[3]);
298}
299
300void
301InfoViewerWidget::setColor(float r,

Callers 3

updateColorPickerMethod · 0.80
pickColorInternalMethod · 0.80

Calls 1

setColorFunction · 0.85

Tested by

no test coverage detected