mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 10:13:10 +00:00
665f6d7d9c
* Assets: import from gdrive * Assets: fully working build pipeline and registry * NFC: menu icon * Gui: layers. Irukagotchi: base app to handle input on idle screen. Makefile: reboot after flash in dfu mode. * ValueMutex: with lambda * Assets: proper animation frames sorting * ValueMutex: proper furi_open usage * Assets,GUI: split icon into icon data and icon state. * Format source code * Docker: add python3 and imagemagic * Irukagotchi: cleanup * GUI: event lock moved to gui. * Rfid: proper gui layer * GUI: elements. Menu: frame and scroll * GUI, Menu: format code. * Menu: dual font main menu * Menu: format sources * GUI: 0 total scrollbar * CI: enable lfs * Menu: pixel perfect main menu Co-authored-by: Aleksandr Kutuzov <aku@plooks.com> Co-authored-by: aanper <mail@s3f.ru>
21 lines
376 B
C
21 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);
|