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

Method getPalette

Components/TimeWindow.cpp:524–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522}
523
524std::string
525TimeWindow::getPalette(void) const
526{
527 const Palette *palette = SigDiggerHelpers::instance()->getPalette(
528 this->ui->paletteCombo->currentIndex());
529
530 if (palette == nullptr)
531 return "Suscan";
532
533 return palette->getName();
534}
535
536unsigned int
537TimeWindow::getPaletteOffset(void) const

Callers 2

onPaletteChangedMethod · 0.45
setPaletteGradientMethod · 0.45

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected