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/AppLauncher.h
- Revision:
- 3:3fabfe3339b8
- Parent:
- 1:46c8df4608c8
- Child:
- 5:f4de114c31c3
--- a/Application/AppLauncher.h Fri Dec 19 07:37:24 2014 +0000 +++ b/Application/AppLauncher.h Fri Dec 19 09:12:51 2014 +0100 @@ -20,7 +20,7 @@ #include "App.h" #include "DMBoard.h" #include "lpc_swim.h" -#include "Button.h" +#include "Clickable.h" /** * An App example. This uses a number of buttons to launch different Apps. @@ -53,11 +53,12 @@ Display* _disp; SWIM_WINDOW_T* _win; void* _fb; - Button* _buttons[NumberOfButtons]; + Clickable* _buttons[NumberOfButtons]; int _usedButtons; void draw(); void addButton(uint32_t buttonID, const char* caption); + void addImageButton(uint32_t buttonID, const char* imgUp, const char* imgDown = 0); }; #endif