Implement EV_WIDGET_DRAW and call screen_widget_broadcast() on screen loads

This commit is contained in:
Pim van Pelt
2017-12-02 14:23:14 +01:00
parent f7a62fce48
commit cda842da53
8 changed files with 12 additions and 7 deletions

View File

@ -18,6 +18,7 @@ void widget_topbar_ev(int ev, struct widget_t *w, void *ev_data) {
switch(ev) {
case EV_WIDGET_CREATE:
break;
case EV_WIDGET_DRAW:
case EV_WIDGET_REDRAW:
case EV_WIDGET_TIMER: