| 423 | } |
| 424 | |
| 425 | void KbPerf::lightIndicator(const char* name, QRgb rgba){ |
| 426 | int a = round(qAlpha(rgba) * _iOpacity); |
| 427 | if(a <= 0) |
| 428 | return; |
| 429 | light()->setIndicator(name, qRgba(qRed(rgba), qGreen(rgba), qBlue(rgba), a)); |
| 430 | } |
| 431 | |
| 432 | void KbPerf::applyIndicators(int modeIndex, const bool indicatorState[]){ |
| 433 | light()->resetIndicators(); |
nothing calls this directly
no test coverage detected