From 294d4533489e9ed6b7e71c63a1faa9722a2621c6 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 10 Jun 2020 02:39:37 +0200 Subject: page/form refactor; implemented form layout, labels --- code/fe310/eos/eve/screen/screen.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'code/fe310/eos/eve/screen/screen.c') diff --git a/code/fe310/eos/eve/screen/screen.c b/code/fe310/eos/eve/screen/screen.c index d31cd2c..68b6fb8 100644 --- a/code/fe310/eos/eve/screen/screen.c +++ b/code/fe310/eos/eve/screen/screen.c @@ -81,9 +81,19 @@ void eve_screen_handle_touch(EVEScreen *screen, uint8_t tag0, int touch_idx) { w = w->next; } + eve_cmd_burst_start(); + eve_cmd_dl(CMD_DLSTART); + eve_cmd_dl(CLEAR_COLOR_RGB(0,0,0)); + eve_cmd_dl(CLEAR(1,1,1)); + w = screen->win_head; while(w) { if (eve_window_visible(w)) tagN = w->view->draw(w->view, tagN); w = w->next; } + + eve_cmd_dl(DISPLAY()); + eve_cmd_dl(CMD_SWAP); + eve_cmd_burst_end(); + eve_cmd_exec(1); } -- cgit v1.2.3