MPLABĀ® Harmony Graphics Suite
GFX v3.13.0
Legato API Documentation
|
Schemes support various properties that make it possible to customize the color of widgets. More...
Go to the source code of this file.
Data Structures | |
union | leSchemeColorTable |
struct | leScheme |
Macros | |
#define | LE_SCHEME_COLOR_COUNT 16 |
#define | LE_SCHEME_COLOR_MODE_COUNT LE_COLOR_MODE_COUNT |
Typedefs | |
typedef enum leSchemeColor | leSchemeColor |
typedef union leSchemeColorTable | leSchemeColorTable |
typedef struct leScheme | leScheme |
Functions | |
void | leScheme_Initialize (leScheme *scheme) |
Initialize scheme. More... | |
leColor | leScheme_GetColor (const leScheme *schm, leSchemeColor clr, leColorMode mode) |
Gets a scheme color. More... | |
leColor | leScheme_GetRenderColor (const leScheme *schm, leSchemeColor clr) |
Gets a scheme render color for the current layer color mode. More... | |
Variables | |
const struct leScheme | leDefaultScheme |
Schemes support various properties that make it possible to customize the color of widgets.
A scheme is a collection of colors that can be referenced by one or more widgets. Widgets may use schemes in different ways. While the color names strive to be intuitive they aren't always used in the manner in which they describe.
leColor leScheme_GetColor | ( | const leScheme * | schm, |
leSchemeColor | clr, | ||
leColorMode | mode | ||
) |
Gets a scheme color.
Gets a scheme color
scheme | is the scheme to query. |
clr | is the scheme color to get. |
mode | is the color mode to get. |
leColor leScheme_GetRenderColor | ( | const leScheme * | schm, |
leSchemeColor | clr | ||
) |
Gets a scheme render color for the current layer color mode.
Gets a scheme color
scheme | is the scheme to query. |
clr | is the scheme color to get. |
void leScheme_Initialize | ( | leScheme * | scheme | ) |
Initialize scheme.
Initializes scheme
scheme | is the scheme to initialize. |