Loading...
Searching...
No Matches
icon.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <stdint.h>
9#include <core/common_defines.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15typedef struct Icon Icon;
16
23uint16_t icon_get_width(const Icon* instance);
24
31uint16_t icon_get_height(const Icon* instance);
32
39FURI_DEPRECATED const uint8_t* icon_get_data(const Icon* instance);
40
47uint32_t icon_get_frame_count(const Icon* instance);
48
56const uint8_t* icon_get_frame_data(const Icon* instance, uint32_t frame);
57
58#ifdef __cplusplus
59}
60#endif
const uint8_t * icon_get_frame_data(const Icon *instance, uint32_t frame)
Get Icon XBM bitmap data for a particular frame.
Definition icon.c:29
FURI_DEPRECATED const uint8_t * icon_get_data(const Icon *instance)
Get Icon XBM bitmap data for the first frame.
Definition icon.c:19
uint16_t icon_get_width(const Icon *instance)
Get icon width.
Definition icon.c:7
uint16_t icon_get_height(const Icon *instance)
Get icon height.
Definition icon.c:13
uint32_t icon_get_frame_count(const Icon *instance)
Get Icon frame count.
Definition icon.c:25
Definition icon_i.h:9