MSP Graphics Library
|
Functions | |
void | Graphics_drawImageButton (const Graphics_Context *context, const Graphics_ImageButton *imageButton) |
bool | Graphics_isImageButtonSelected (const Graphics_ImageButton *imageButton, uint16_t x, uint16_t y) |
void | Graphics_drawSelectedImageButton (const Graphics_Context *context, const Graphics_ImageButton *imageButton) |
void | Graphics_drawReleasedImageButton (const Graphics_Context *context, const Graphics_ImageButton *imageButton) |
void Graphics_drawImageButton | ( | const Graphics_Context * | context, |
const Graphics_ImageButton * | imageButton | ||
) |
Draws a ImageButton .
context | is a pointer to the drawing context to use. |
imageButton | is a pointer to the structure containing the extents of the ImageButton . |
This function draws a ImageButton . The ImageButton will contain the image passed in the ImageButton struct.
void Graphics_drawReleasedImageButton | ( | const Graphics_Context * | context, |
const Graphics_ImageButton * | imageButton | ||
) |
Draws a released ImageButton .
context | is a pointer to the drawing context to use. |
imageButton | is a pointer to the structure containing the extents of the ImageButton . |
This function draws a ImageButton using the released parameters.
void Graphics_drawSelectedImageButton | ( | const Graphics_Context * | context, |
const Graphics_ImageButton * | imageButton | ||
) |
Draws a selected ImageButton .
context | is a pointer to the drawing context to use. |
imageButton | is a pointer to the structure containing the extents of the ImageButton . |
This function draws a ImageButton using the selected parameters.
bool Graphics_isImageButtonSelected | ( | const Graphics_ImageButton * | imageButton, |
uint16_t | x, | ||
uint16_t | y | ||
) |
Determines if x and y coordinates are contained in ImageButton .
imageButton | is a pointer to the structure containing the extents of the ImageButton . |
x | x-coordinate to be determined if is inside ImageButton |
y | y-coordinate to be determined if is inside ImageButton |
This function determines if x and y coordinates are contains inside ImageButton