chore: fix minor issues
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
#define theme_def (LV_GLOBAL_DEFAULT()->theme_default)
|
#define theme_def (LV_GLOBAL_DEFAULT()->theme_default)
|
||||||
|
|
||||||
#define MODE_DARK 1
|
#define MODE_DARK 1
|
||||||
#define RADIUS_DEFAULT _LV_DPX_CALC(theme->disp_dpi, theme->disp_size == DISP_LARGE ? 12 : 8)
|
#define RADIUS_DEFAULT _LV_DPX_CALC(theme->disp_dpi, theme->disp_size == DISP_LARGE ? 12 : 8) * 2
|
||||||
|
|
||||||
/*SCREEN*/
|
/*SCREEN*/
|
||||||
#define LIGHT_COLOR_SCR lv_palette_lighten(LV_PALETTE_GREY, 4)
|
#define LIGHT_COLOR_SCR lv_palette_lighten(LV_PALETTE_GREY, 4)
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ static void create_ui(void)
|
|||||||
lv_obj_t * scr = lv_screen_active();
|
lv_obj_t * scr = lv_screen_active();
|
||||||
|
|
||||||
/*Declare static array of integers, and test grid setting options*/
|
/*Declare static array of integers, and test grid setting options*/
|
||||||
static lv_coord_t gird_cols[] = {300, LV_GRID_FR(3), LV_GRID_FR(2), LV_GRID_TEMPLATE_LAST};
|
static int32_t gird_cols[] = {300, LV_GRID_FR(3), LV_GRID_FR(2), LV_GRID_TEMPLATE_LAST};
|
||||||
static lv_coord_t gird_rows[] = {100, LV_GRID_FR(1), LV_GRID_CONTENT, LV_GRID_TEMPLATE_LAST};
|
static int32_t gird_rows[] = {100, LV_GRID_FR(1), LV_GRID_CONTENT, LV_GRID_TEMPLATE_LAST};
|
||||||
lv_obj_set_grid_dsc_array(scr, gird_cols, gird_rows);
|
lv_obj_set_grid_dsc_array(scr, gird_cols, gird_rows);
|
||||||
|
|
||||||
static lv_subject_t chart_type_subject;
|
static lv_subject_t chart_type_subject;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#if LV_BUILD_TEST || 1
|
#if LV_BUILD_TEST
|
||||||
#include "../lvgl.h"
|
#include "../lvgl.h"
|
||||||
|
|
||||||
#include "unity/unity.h"
|
#include "unity/unity.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user