MPLABĀ® Harmony Graphics Suite
GFX v3.13.0
Legato API Documentation
|
Palette functions and definitions. More...
Go to the source code of this file.
Data Structures | |
struct | lePalette |
This struct represents a palette asset. More... | |
Typedefs | |
typedef struct lePalette | lePalette |
This struct represents a palette asset. More... | |
Functions | |
leColor | lePalette_GetColor (lePalette *pal, uint32_t idx) |
Get color from a palette. More... | |
Palette functions and definitions.
Defines palette assets and get palette color.
This struct represents a palette asset.
A palette is a lookup table for unique colors. Given in an index, a color can be retrieved.
leColor lePalette_GetColor | ( | lePalette * | pal, |
uint32_t | idx | ||
) |
Get color from a palette.
Gets a color from pal at idx.
pal | is a color palatte. |
idx | is the location of the color |