color_int_t reanme to lv_color_int_t

This commit is contained in:
Gabor Kiss-Vamosi
2017-12-01 19:40:12 +01:00
parent 47f2e0a8f7
commit cabf623e11
8 changed files with 13 additions and 13 deletions

View File

@@ -62,8 +62,8 @@ lv_anim_t a;
a.var = obj;
a.start = lv_obj_get_height(obj);
a.end = new_height;
a.fp = (anim_fp_t)lv_obj_set_height;
a.path = anim_get_path(ANIM_PATH_LIN);
a.fp = (lv_anim_fp_t)lv_obj_set_height;
a.path = anim_get_path(LV_ANIM_PATH_LIN);
a.end_cb = NULL;
a.act_time = 0;
a.time = 200;

View File

@@ -100,16 +100,16 @@ typedef union
}lv_color24_t;
#if LV_COLOR_DEPTH == 1
typedef uint8_t color_int_t;
typedef uint8_t lv_color_int_t;
typedef lv_color1_t lv_color_t;
#elif LV_COLOR_DEPTH == 8
typedef uint8_t color_int_t;
typedef uint8_t lv_color_int_t;
typedef lv_color8_t lv_color_t;
#elif LV_COLOR_DEPTH == 16
typedef uint16_t color_int_t;
typedef uint16_t lv_color_int_t;
typedef lv_color16_t lv_color_t;
#elif LV_COLOR_DEPTH == 24
typedef uint32_t color_int_t;
typedef uint32_t lv_color_int_t;
typedef lv_color24_t lv_color_t;
#else
#error "Invalid LV_COLOR_DEPTH in misc_conf.h! Set it to 1, 8, 16 or 24!"