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/Clickable.h
- Revision:
- 6:7917b0894655
- Parent:
- 2:efae611de184
- Child:
- 7:4ba7bd9d32ef
--- a/Application/Clickable.h Sun Dec 21 13:53:07 2014 +0100 +++ b/Application/Clickable.h Thu Jan 08 11:14:56 2015 +0100 @@ -67,9 +67,10 @@ */ bool handle(uint16_t x, uint16_t y, bool pressed); - /** Draws the button + /** Draws the button (on a new framebuffer if one is specified) + * @param fb the frame buffer */ - virtual void draw() = 0; + virtual void draw(COLOR_T* fb = 0) = 0; protected: bool _enabled, _pressed;