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/ImageButton.h
- Revision:
- 6:7917b0894655
- Parent:
- 4:a73760d09423
- Child:
- 10:651861441108
--- a/Application/ImageButton.h Sun Dec 21 13:53:07 2014 +0100
+++ b/Application/ImageButton.h Thu Jan 08 11:14:56 2015 +0100
@@ -63,9 +63,10 @@
bool loadImages(const unsigned char* imgUp, unsigned int imgUpSize,
const unsigned char* imgDown = 0, unsigned int imgDownSize = 0);
- /** Draws the button
+ /** Draws the button (on a new framebuffer if one is specified)
+ * @param fb the frame buffer
*/
- virtual void draw();
+ virtual void draw(COLOR_T* fb = 0);
private:
Image::ImageData_t _imgUp;
