unleashed-firmware/applications/services/gui/icon.c

21 lines
365 B
C
Raw Normal View History

#include "icon_i.h"
#include <furi.h>
uint8_t icon_get_width(const Icon* instance) {
furi_check(instance);
return instance->width;
}
uint8_t icon_get_height(const Icon* instance) {
furi_check(instance);
return instance->height;
}
const uint8_t* icon_get_data(const Icon* instance) {
furi_check(instance);
return instance->frames[0];
}