mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
a7283280ef
* GUI: Icons and IconsAnimation refactoring. Switch assets to new Icon API. * Gui: icon and animation draw now do not accept null pointer * Format Sources * Fix no debug build * Furi: stricter checks in memmgr
13 lines
No EOL
265 B
C
13 lines
No EOL
265 B
C
#include "icon_i.h"
|
|
|
|
uint8_t icon_get_width(const Icon* instance) {
|
|
return instance->width;
|
|
}
|
|
|
|
uint8_t icon_get_height(const Icon* instance) {
|
|
return instance->height;
|
|
}
|
|
|
|
const uint8_t* icon_get_data(const Icon* instance) {
|
|
return instance->frames[0];
|
|
} |