mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
Merge branch 'master' into dev
This commit is contained in:
commit
57c2201386
@ -201,7 +201,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Complier prefix for a big array declaration */
|
/* Compiler prefix for a big array declaration */
|
||||||
#ifndef LV_MEM_ATTR
|
#ifndef LV_MEM_ATTR
|
||||||
# ifdef CONFIG_LV_MEM_ATTR
|
# ifdef CONFIG_LV_MEM_ATTR
|
||||||
# define LV_MEM_ATTR CONFIG_LV_MEM_ATTR
|
# define LV_MEM_ATTR CONFIG_LV_MEM_ATTR
|
||||||
@ -330,7 +330,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Long press time in milliseconds.
|
/* Long press time in milliseconds.
|
||||||
* Time to send `LV_EVENT_LONG_PRESSSED`) */
|
* Time to send `LV_EVENT_LONG_PRESSED`) */
|
||||||
#ifndef LV_INDEV_DEF_LONG_PRESS_TIME
|
#ifndef LV_INDEV_DEF_LONG_PRESS_TIME
|
||||||
# ifdef CONFIG_LV_INDEV_DEF_LONG_PRESS_TIME
|
# ifdef CONFIG_LV_INDEV_DEF_LONG_PRESS_TIME
|
||||||
# define LV_INDEV_DEF_LONG_PRESS_TIME CONFIG_LV_INDEV_DEF_LONG_PRESS_TIME
|
# define LV_INDEV_DEF_LONG_PRESS_TIME CONFIG_LV_INDEV_DEF_LONG_PRESS_TIME
|
||||||
@ -1322,7 +1322,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h" */
|
|||||||
|
|
||||||
/* Support bidirectional texts.
|
/* Support bidirectional texts.
|
||||||
* Allows mixing Left-to-Right and Right-to-Left texts.
|
* Allows mixing Left-to-Right and Right-to-Left texts.
|
||||||
* The direction will be processed according to the Unicode Bidirectioanl Algorithm:
|
* The direction will be processed according to the Unicode Bidirectional Algorithm:
|
||||||
* https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
|
* https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
|
||||||
#ifndef LV_USE_BIDI
|
#ifndef LV_USE_BIDI
|
||||||
# ifdef CONFIG_LV_USE_BIDI
|
# ifdef CONFIG_LV_USE_BIDI
|
||||||
|
@ -166,7 +166,7 @@ lv_obj_t * lv_tabview_create(lv_obj_t * par, const lv_obj_t * copy)
|
|||||||
lv_btnmatrix_set_map(ext->btns, ext->tab_name_ptr);
|
lv_btnmatrix_set_map(ext->btns, ext->tab_name_ptr);
|
||||||
|
|
||||||
lv_style_list_copy(lv_obj_get_style_list(tabview, LV_TABVIEW_PART_BG_SCROLLABLE), lv_obj_get_style_list(copy,
|
lv_style_list_copy(lv_obj_get_style_list(tabview, LV_TABVIEW_PART_BG_SCROLLABLE), lv_obj_get_style_list(copy,
|
||||||
LV_TABVIEW_PART_BG_SCROLLABLE));
|
LV_TABVIEW_PART_BG_SCROLLABLE));
|
||||||
lv_style_list_copy(lv_obj_get_style_list(tabview, LV_TABVIEW_PART_TAB_BG), lv_obj_get_style_list(copy,
|
lv_style_list_copy(lv_obj_get_style_list(tabview, LV_TABVIEW_PART_TAB_BG), lv_obj_get_style_list(copy,
|
||||||
LV_TABVIEW_PART_TAB_BG));
|
LV_TABVIEW_PART_TAB_BG));
|
||||||
lv_style_list_copy(lv_obj_get_style_list(tabview, LV_TABVIEW_PART_TAB_BTN), lv_obj_get_style_list(copy,
|
lv_style_list_copy(lv_obj_get_style_list(tabview, LV_TABVIEW_PART_TAB_BTN), lv_obj_get_style_list(copy,
|
||||||
@ -616,7 +616,7 @@ static lv_res_t lv_tabview_signal(lv_obj_t * tabview, lv_signal_t sign, void * p
|
|||||||
else if(info->part == LV_TABVIEW_PART_TAB_BTN) info->result = lv_obj_get_state(ext->btns, LV_BTNMATRIX_PART_BTN);
|
else if(info->part == LV_TABVIEW_PART_TAB_BTN) info->result = lv_obj_get_state(ext->btns, LV_BTNMATRIX_PART_BTN);
|
||||||
else if(info->part == LV_TABVIEW_PART_INDIC) info->result = lv_obj_get_state(ext->indic, LV_OBJ_PART_MAIN);
|
else if(info->part == LV_TABVIEW_PART_INDIC) info->result = lv_obj_get_state(ext->indic, LV_OBJ_PART_MAIN);
|
||||||
else if(info->part == LV_TABVIEW_PART_BG_SCROLLABLE) info->result = lv_obj_get_state(ext->content,
|
else if(info->part == LV_TABVIEW_PART_BG_SCROLLABLE) info->result = lv_obj_get_state(ext->content,
|
||||||
LV_PAGE_PART_SCROLLABLE);
|
LV_PAGE_PART_SCROLLABLE);
|
||||||
return LV_RES_OK;
|
return LV_RES_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user