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/ImageButton.h
- Revision:
- 6:7917b0894655
- Parent:
- 4:a73760d09423
- Child:
- 10:651861441108
diff -r f4de114c31c3 -r 7917b0894655 Application/ImageButton.h --- 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;