MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / on_ButtonSetLED_clicked

Method on_ButtonSetLED_clicked

qt/OpenRGBDialog/OpenRGBDialog.cpp:154–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void 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
165void Ui::OpenRGBDialog::on_ComboDevices_currentIndexChanged()
166{

Callers

nothing calls this directly

Calls 1

SetLEDMethod · 0.45

Tested by

no test coverage detected