MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / setPaletteOffset

Method setPaletteOffset

Components/TimeWindow.cpp:484–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484void
485TimeWindow::setPaletteOffset(unsigned int offset)
486{
487 if (offset > 255)
488 offset = 255;
489 this->ui->offsetSlider->setValue(static_cast<int>(offset));
490 this->onChangePaletteOffset(static_cast<int>(offset));
491}
492
493void
494TimeWindow::setPaletteContrast(int contrast)

Callers

nothing calls this directly

Calls 2

onChangePaletteOffsetMethod · 0.95
setValueMethod · 0.80

Tested by

no test coverage detected