Starting Animation setup
| 2609 | |
| 2610 | // Starting Animation setup |
| 2611 | void Pixel_initializeStartAnimations() |
| 2612 | { |
| 2613 | // Animations |
| 2614 | for ( uint8_t pos = 0; pos < Pixel_AnimationStackSize; pos++ ) |
| 2615 | { |
| 2616 | uint8_t index = settings.animations[pos].index; |
| 2617 | if (index != 255) { |
| 2618 | AnimationStackElement element = Pixel_AnimationSettings[ index ]; |
| 2619 | |
| 2620 | // Only update state if not already defined |
| 2621 | if ( ( element.state & 0x7F ) == AnimationPlayState_Pause ) |
| 2622 | { |
| 2623 | element.state = AnimationPlayState_Start; |
| 2624 | } |
| 2625 | |
| 2626 | element.pos = settings.animations[pos].pos; |
| 2627 | Pixel_addAnimation( &element, CapabilityState_None ); |
| 2628 | } |
| 2629 | } |
| 2630 | } |
| 2631 | |
| 2632 | // Pixel Procesing Loop |
| 2633 | inline void Pixel_process() |
no test coverage detected
searching dependent graphs…