Show the use of multiple fonts

This commit is contained in:
Pim van Pelt
2017-12-01 15:43:03 +01:00
parent eab5f31a92
commit e7f674fa6f
8 changed files with 22 additions and 12 deletions

View File

@ -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);