MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / visiblePriorityChanged

Method visiblePriorityChanged

sources/effects/Effect.cpp:200–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200void Effect::visiblePriorityChanged(quint8 priority)
201{
202 _visiblePriority = priority;
203
204 if (_timeout <= 0)
205 {
206 if (_visiblePriority < _priority)
207 _timer.stop();
208 else if (!_timer.isActive())
209 _timer.start();
210 }
211}
212
213void Effect::setLedCount(int newCount)
214{

Callers

nothing calls this directly

Calls 3

stopMethod · 0.45
isActiveMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected