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

Method on_ButtonSetDevice_clicked

qt/OpenRGBDialog/OpenRGBDialog.cpp:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void 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
143void Ui::OpenRGBDialog::on_ButtonSetZone_clicked()
144{

Callers

nothing calls this directly

Calls 1

SetAllLEDsMethod · 0.80

Tested by

no test coverage detected