Loading...
Searching...
No Matches
icon_animation_i.h
Go to the documentation of this file.
1
6#pragma once
7
8#include "icon_animation.h"
9
10#include <furi.h>
11
13 const Icon* icon;
14 uint8_t frame;
15 bool animating;
16 FuriTimer* timer;
17 IconAnimationCallback callback;
18 void* callback_context;
19};
20
27const uint8_t* icon_animation_get_data(const IconAnimation* instance);
28
34
39void icon_animation_timer_callback(void* context);
GUI: IconAnimation API.
void(* IconAnimationCallback)(IconAnimation *instance, void *context)
Icon Animation Callback.
Definition icon_animation.h:20
void icon_animation_timer_callback(void *context)
IconAnimation timer callback.
Definition icon_animation.c:45
const uint8_t * icon_animation_get_data(const IconAnimation *instance)
Get pointer to current frame data.
Definition icon_animation.c:36
void icon_animation_next_frame(IconAnimation *instance)
Advance to next frame.
Definition icon_animation.c:40
Definition timer.c:9
Definition icon_animation_i.h:12
Definition icon_i.h:9