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/Button.h
- Revision:
- 6:7917b0894655
- Parent:
- 3:3fabfe3339b8
- Child:
- 10:651861441108
diff -r f4de114c31c3 -r 7917b0894655 Application/Button.h --- a/Application/Button.h Sun Dec 21 13:53:07 2014 +0100 +++ b/Application/Button.h Thu Jan 08 11:14:56 2015 +0100 @@ -95,9 +95,10 @@ */ void setColors(COLOR_T bg, COLOR_T fg, COLOR_T bgPressed, COLOR_T fgPressed); - /** 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: const char* _caption;