Show the use of multiple fonts
This commit is contained in:
@ -5,7 +5,7 @@ static void widget_topbar_render(struct widget_t *w, void *ev_data) {
|
||||
if (!w)
|
||||
return;
|
||||
|
||||
mgos_ili9341_set_window(w->x, w->y, w->x+w->w, w->y+w->h);
|
||||
mgos_ili9341_set_window(w->x, w->y, w->x+w->w-1, w->y+w->h-1);
|
||||
mgos_ili9341_set_fgcolor565(ILI9341_WHITE);
|
||||
mgos_ili9341_fillRect(0, 0, w->w, w->h);
|
||||
|
||||
|
Reference in New Issue
Block a user