A basic graphics package for the LPC4088 Display Module.
Dependents: lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI lpc4088_displaymodule_fs_aid ... more
Fork of DMBasicGUI by
Diff: Application/DigitButton.h
- Revision:
- 9:ce69a7adfe9c
- Parent:
- 7:4ba7bd9d32ef
- Child:
- 10:651861441108
--- a/Application/DigitButton.h Sat Jan 17 14:07:25 2015 +0100 +++ b/Application/DigitButton.h Tue Jan 20 09:05:30 2015 +0100 @@ -53,6 +53,17 @@ /** Loads the mandatory "normal" state image and the optional "pressed" state image * + * @param imgUp the decoded image for the normal state + * @param imgDown the decoded image for the pressed state (or NULL to use the same) + * + * @returns + * true on success + * false on failure + */ + bool loadImages(const Image::ImageData_t* imgUp, const Image::ImageData_t* imgDown = 0); + + /** Loads the mandatory "normal" state image and the optional "pressed" state image + * * @param imgUp the image for the normal state * @param imgDown the image for the pressed state (or NULL to use the same) *