Art read off the wire. It points into the bytes it was read from, so it lives only as long as they do.
More...
#include <music_art.h>
|
|
uint8_t | width |
| | Width in pixels, 1 to MUSIC_ART_SIDE_MAX.
|
|
uint8_t | height |
| | Height in pixels, 1 to MUSIC_ART_SIDE_MAX.
|
|
uint8_t | colours |
| | How many palette entries follow, 1 to MUSIC_ART_COLOURS_MAX.
|
|
const uint8_t * | palette |
| | One GColor8 byte for each colour.
|
|
const uint8_t * | pixels |
| | The rows, each row_bytes long.
|
|
uint16_t | row_bytes |
| | Bytes in one row of pixels, (width + 1) / 2.
|
Art read off the wire. It points into the bytes it was read from, so it lives only as long as they do.
The documentation for this struct was generated from the following file: