void icon_animation_free(IconAnimation *instance)
Release icon animation instance.
Definition icon_animation.c:17
uint8_t icon_animation_get_height(const IconAnimation *instance)
Get icon animation height.
Definition icon_animation.c:64
uint8_t icon_animation_get_width(const IconAnimation *instance)
Get icon animation width.
Definition icon_animation.c:58
void icon_animation_set_update_callback(IconAnimation *instance, IconAnimationCallback callback, void *context)
Set IconAnimation update callback.
Definition icon_animation.c:26
void(* IconAnimationCallback)(IconAnimation *instance, void *context)
Icon Animation Callback.
Definition icon_animation.h:20
IconAnimation * icon_animation_alloc(const Icon *icon)
Allocate icon animation instance with const icon data.
Definition icon_animation.c:6
void icon_animation_stop(IconAnimation *instance)
Stop icon animation.
Definition icon_animation.c:83
bool icon_animation_is_last_frame(const IconAnimation *instance)
Returns true if current frame is a last one.
Definition icon_animation.c:93
void icon_animation_start(IconAnimation *instance)
Start icon animation.
Definition icon_animation.c:70
Definition icon_animation_i.h:12