diff options
author | daniel-Jones <daniel@danieljon.es> | 2017-02-16 15:30:49 +1030 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2017-02-16 15:30:49 +1030 |
commit | 84cf187da89ceb5c8a3cf3fa551d2329b29b0e59 (patch) | |
tree | aceb34e88274391ab2ec9bc716a6351267f2f01a /qt/RGBController | |
parent | 12bddeda97b5d428f4ef9006180051c14b01aecc (diff) | |
download | RGB-Controller-84cf187da89ceb5c8a3cf3fa551d2329b29b0e59.tar.gz RGB-Controller-84cf187da89ceb5c8a3cf3fa551d2329b29b0e59.zip |
Fade minimum and maximum values now correctly function.
Diffstat (limited to 'qt/RGBController')
-rwxr-xr-x | qt/RGBController/RGBController | bin | 93104 -> 93104 bytes | |||
-rwxr-xr-x | qt/RGBController/controllerwindow.cpp | 12 | ||||
-rw-r--r-- | qt/RGBController/controllerwindow.o | bin | 98264 -> 101504 bytes |
3 files changed, 7 insertions, 5 deletions
diff --git a/qt/RGBController/RGBController b/qt/RGBController/RGBController Binary files differindex ddb96b0..8607dc8 100755 --- a/qt/RGBController/RGBController +++ b/qt/RGBController/RGBController diff --git a/qt/RGBController/controllerwindow.cpp b/qt/RGBController/controllerwindow.cpp index 9cf41f2..cf53f82 100755 --- a/qt/RGBController/controllerwindow.cpp +++ b/qt/RGBController/controllerwindow.cpp @@ -433,25 +433,27 @@ void controllerWindow::on_rfrom_valueChanged(int arg1) void controllerWindow::on_rto_valueChanged(int arg1) { - + portf.send("rt=" + QString::number(arg1)); } void controllerWindow::on_gfrom_valueChanged(int arg1) { - + portf.send("gf=" + QString::number(arg1)); + ui->g_slider->setValue(arg1); } void controllerWindow::on_gto_valueChanged(int arg1) { - +portf.send("gt=" + QString::number(arg1)); } void controllerWindow::on_bfrom_valueChanged(int arg1) { - + portf.send("bf=" + QString::number(arg1)); + ui->b_slider->setValue(arg1); } void controllerWindow::on_bto_valueChanged(int arg1) { - + portf.send("bt=" + QString::number(arg1)); } diff --git a/qt/RGBController/controllerwindow.o b/qt/RGBController/controllerwindow.o Binary files differindex 3ccf97f..6c6c914 100644 --- a/qt/RGBController/controllerwindow.o +++ b/qt/RGBController/controllerwindow.o |