MCPcopy Create free account
hub / github.com/Atarity/Lightpack / onDeviceGammaCorrection_valueChanged

Method onDeviceGammaCorrection_valueChanged

Software/src/SettingsWindow.cpp:1087–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1085}
1086
1087void SettingsWindow::onDeviceGammaCorrection_valueChanged(double value)
1088{
1089 DEBUG_LOW_LEVEL << Q_FUNC_INFO << value;
1090
1091 Settings::setDeviceGamma(value);
1092 ui->horizontalSlider_GammaCorrection->setValue(floor((value * 100 + 0.5)));
1093 emit updateGamma(Settings::getDeviceGamma());
1094}
1095
1096void SettingsWindow::onSliderDeviceGammaCorrection_valueChanged(int value)
1097{

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.80

Tested by

no test coverage detected