Commit Graph

14 Commits

Author SHA1 Message Date
cda842da53 Implement EV_WIDGET_DRAW and call screen_widget_broadcast() on screen loads 2017-12-02 14:23:14 +01:00
ef4451b81f Initial stab at WIDGET_LOADSCREEN and navigation 2017-12-02 14:15:22 +01:00
c3a71a9b69 Add widget_default_destroy() 2017-12-02 13:33:51 +01:00
4e1a9f4c2a Change images to DIFs for faster drawing 2017-12-02 12:22:14 +01:00
b9a0578d5b Allow app to compile for ESP8266 - add some conditionals based on mos.platform 2017-12-01 19:21:01 +01:00
95e2835871 Draw images as blue roundrects; Add labels to non-imagery widgets, if they are set 2017-12-01 16:16:57 +01:00
e7f674fa6f Show the use of multiple fonts 2017-12-01 15:43:03 +01:00
eab5f31a92 Move to Native SPI implementations of ILI9341 and STMPE610 2017-12-01 13:57:43 +01:00
ed9906a0bf Move to RoundRect() -- draw RED on TOUCH_DOWN, GREEN on TOUCH_UP 2017-11-26 22:23:35 +01:00
ed98d2de7c Trigger draw on TOUCH_UP 2017-11-26 22:13:49 +01:00
25cad76432 Move to PNG imagery 2017-11-26 21:04:58 +01:00
d5e01dedd2 Simplify screen: make it absolute and fill the whole TFT 2017-11-26 20:07:26 +01:00
3cb5fc18e7 add widget_ev_to_str(); Pass 'ed' through to EV_WIDGET_TOUCH_{UP,DOWN} calls 2017-11-26 19:27:57 +01:00
e826324244 Plumb default_widget_handler and default_user_data for widgets read from JSON/File 2017-11-26 19:06:44 +01:00