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