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

Method getViewerTextureInputDisplayed

Gui/Histogram.cpp:456–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456int
457Histogram::getViewerTextureInputDisplayed() const
458{
459 int textureIndex = 0;
460
461 if (_imp->viewerCurrentInputGroup) {
462 QAction* selectedInputAction = _imp->viewerCurrentInputGroup->checkedAction();
463 if (selectedInputAction) {
464 textureIndex = selectedInputAction->data().toInt();
465 }
466 }
467
468 return textureIndex;
469}
470
471ImagePtr HistogramPrivate::getHistogramImage(RectI* imagePortion) const
472{

Callers 2

updateColorPickerMethod · 0.80

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected