GUI: Icon API.
More...
#include <stdint.h>
#include <core/common_defines.h>
Go to the source code of this file.
◆ icon_get_data()
FURI_DEPRECATED const uint8_t * icon_get_data |
( |
const Icon * | instance | ) |
|
Get Icon XBM bitmap data for the first frame.
- Parameters
-
[in] | instance | pointer to Icon data |
- Returns
- pointer to compressed XBM bitmap data
◆ icon_get_frame_count()
uint32_t icon_get_frame_count |
( |
const Icon * | instance | ) |
|
Get Icon frame count.
- Parameters
-
[in] | instance | pointer to Icon data |
- Returns
- frame count
◆ icon_get_frame_data()
const uint8_t * icon_get_frame_data |
( |
const Icon * | instance, |
|
|
uint32_t | frame ) |
Get Icon XBM bitmap data for a particular frame.
- Parameters
-
[in] | instance | pointer to Icon data |
[in] | frame | frame index |
- Returns
- pointer to compressed XBM bitmap data
◆ icon_get_height()
uint16_t icon_get_height |
( |
const Icon * | instance | ) |
|
Get icon height.
- Parameters
-
[in] | instance | pointer to Icon data |
- Returns
- height in pixels
◆ icon_get_width()
uint16_t icon_get_width |
( |
const Icon * | instance | ) |
|
Get icon width.
- Parameters
-
[in] | instance | pointer to Icon data |
- Returns
- width in pixels