| 130 | } |
| 131 | |
| 132 | void Ui::OpenRGBDialog::on_ButtonSetDevice_clicked() |
| 133 | { |
| 134 | RGBColor color = ToRGBColor( |
| 135 | ui->EditLED0R->text().toInt(), |
| 136 | ui->EditLED0G->text().toInt(), |
| 137 | ui->EditLED0B->text().toInt() |
| 138 | ); |
| 139 | |
| 140 | controllers[ui->ComboDevices->currentIndex()]->SetAllLEDs(color); |
| 141 | } |
| 142 | |
| 143 | void Ui::OpenRGBDialog::on_ButtonSetZone_clicked() |
| 144 | { |
nothing calls this directly
no test coverage detected