| 537 | } |
| 538 | |
| 539 | QList<QRect> LightpackPluginInterface::GetLeds() |
| 540 | { |
| 541 | QList<QRect> leds; |
| 542 | for (int i = 0; i < Settings::getNumberOfLeds(Settings::getConnectedDevice()); i++) |
| 543 | { |
| 544 | QPoint top = Settings::getLedPosition(i); |
| 545 | QSize size = Settings::getLedSize(i); |
| 546 | leds << QRect(top.x(),top.y(),size.width(),size.height()); |
| 547 | } |
| 548 | return leds; |
| 549 | } |
| 550 | |
| 551 | QList<QRgb> LightpackPluginInterface::GetColors() |
| 552 | { |
nothing calls this directly
no outgoing calls
no test coverage detected