Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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)
*
