mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
22 lines
376 B
C
22 lines
376 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
typedef struct IconData IconData;
|
||
|
typedef struct Icon Icon;
|
||
|
|
||
|
Icon* icon_alloc(const IconData* data);
|
||
|
|
||
|
void icon_free(Icon* icon);
|
||
|
|
||
|
uint8_t icon_get_width(Icon* icon);
|
||
|
|
||
|
uint8_t icon_get_height(Icon* icon);
|
||
|
|
||
|
bool icon_is_animated(Icon* icon);
|
||
|
|
||
|
void icon_start_animation(Icon* icon);
|
||
|
|
||
|
void icon_stop_animation(Icon* icon);
|