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 EmbeddedArtists AB

Revision:
3:3fabfe3339b8
Parent:
2:efae611de184
Child:
6:7917b0894655
--- a/Application/Button.h	Fri Dec 19 07:37:24 2014 +0000
+++ b/Application/Button.h	Fri Dec 19 09:12:51 2014 +0100
@@ -54,9 +54,10 @@
  *    TouchPanel* touch = DMBoard::instance().touchPanel();
  *    TouchPanel::touchCoordinate_t coord;
  *    while(!done) {
- *      touch->read(coord);
- *      if (btn.handle(coord.x, coord.y, coord.z > 0)) {
- *        btn.draw();
+ *      if (touch->read(coord) == TouchPanel::TouchError_Ok) {
+ *        if (btn.handle(coord.x, coord.y, coord.z > 0)) {
+ *          btn.draw();
+ *        }
  *      }
  *    }
  * }