| 482 | } |
| 483 | |
| 484 | void |
| 485 | TimeWindow::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 | |
| 493 | void |
| 494 | TimeWindow::setPaletteContrast(int contrast) |
nothing calls this directly
no test coverage detected