feat(xml): add test for a complex view

This commit is contained in:
Gabor Kiss-Vamosi
2025-02-10 08:41:36 +01:00
parent ad8a9d9587
commit 052d908ab7
14 changed files with 168 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ static void timer_cb(lv_timer_t * timer)
lv_draw_letter_dsc_t letter_dsc;
lv_draw_letter_dsc_init(&letter_dsc);
letter_dsc.color = lv_color_hex(0xff0000);
letter_dsc.font = lv_font_default();
letter_dsc.font = lv_font_get_default();
{
#define CURVE2_X(t) ((t) * 2 + lv_trigo_cos((t) * 5) * 40 / 32767 - 10)

View File

@@ -19,7 +19,7 @@ static void timer_cb(lv_timer_t * timer)
lv_draw_letter_dsc_t letter_dsc;
lv_draw_letter_dsc_init(&letter_dsc);
letter_dsc.color = lv_color_hex(0xff0000);
letter_dsc.font = lv_font_default();
letter_dsc.font = lv_font_get_default();
{
#define CURVE2_X(t) (t * 2 + 10)