Dont's squash - gradient updates (#7646)

This commit is contained in:
Gabor Kiss-Vamosi
2025-02-13 02:30:53 +01:00
committed by GitHub
parent 0c5e09a144
commit 55911732f1
30 changed files with 1077 additions and 430 deletions

View File

@@ -47,7 +47,7 @@ void lv_example_style_16(void)
/*First define a color gradient. In this example we use a gray color map with random values.*/
static lv_grad_dsc_t grad;
lv_gradient_init_stops(&grad, grad_colors, NULL, NULL, sizeof(grad_colors) / sizeof(lv_color_t));
lv_grad_init_stops(&grad, grad_colors, NULL, NULL, sizeof(grad_colors) / sizeof(lv_color_t));
/*Make a conical gradient with the center in the middle of the object*/
#if LV_GRADIENT_MAX_STOPS >= 8