|
MSP Graphics Library
|
Functions | |
| void | Graphics_drawCheckBox (const Graphics_Context *context, const Graphics_CheckBox *checkBox) |
| bool | Graphics_isCheckBoxSelected (const Graphics_CheckBox *checkBox, uint16_t x, uint16_t y) |
| void | Graphics_drawSelectedCheckBox (const Graphics_Context *context, const Graphics_CheckBox *checkBox) |
| void | Graphics_drawReleasedCheckBox (const Graphics_Context *context, const Graphics_CheckBox *checkBox) |
| void Graphics_drawCheckBox | ( | const Graphics_Context * | context, |
| const Graphics_CheckBox * | checkBox | ||
| ) |
Draws a checkbox.
| context | is a pointer to the drawing context to use. |
| checkBox | is a pointer to the structure containing the extents of the checkbox. |
This function draws a checkbox. The checkbox will be created based on the parameters passed in the checkbox struct.
| void Graphics_drawReleasedCheckBox | ( | const Graphics_Context * | context, |
| const Graphics_CheckBox * | checkBox | ||
| ) |
Draws a released Checkbox.
| context | is a pointer to the drawing context to use. |
| checkBox | is a pointer to the structure containing the extents of the checkBox. |
This function draws a released checkbox using the selected parameters.
| void Graphics_drawSelectedCheckBox | ( | const Graphics_Context * | context, |
| const Graphics_CheckBox * | checkBox | ||
| ) |
Draws a selected Checkbox.
| context | is a pointer to the drawing context to use. |
| checkBox | is a pointer to the structure containing the extents of the checkBox. |
This function draws a selected checkbox using the selected parameters.
| bool Graphics_isCheckBoxSelected | ( | const Graphics_CheckBox * | checkBox, |
| uint16_t | x, | ||
| uint16_t | y | ||
| ) |
Determines if x and y coordinates are contained in the checkbox.
| checkBox | is a pointer to the structure containing the extents of the checkbox. |
| x | x-coordinate to be determined if is inside button |
| y | y-coordinate to be determined if is inside button . |
This function determines if x and y coordinates are contains inside checkbox struct.