| 152 | } |
| 153 | |
| 154 | void Ui::OpenRGBDialog::on_ButtonSetLED_clicked() |
| 155 | { |
| 156 | RGBColor color = ToRGBColor( |
| 157 | ui->EditLED0R->text().toInt(), |
| 158 | ui->EditLED0G->text().toInt(), |
| 159 | ui->EditLED0B->text().toInt() |
| 160 | ); |
| 161 | |
| 162 | controllers[ui->ComboDevices->currentIndex()]->SetLED(ui->ComboLEDs->currentIndex(), color); |
| 163 | } |
| 164 | |
| 165 | void Ui::OpenRGBDialog::on_ComboDevices_currentIndexChanged() |
| 166 | { |