1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

Merge pull request #86 from upbeat27/tabview-spelling-fix

Tabview spelling fix
This commit is contained in:
Gabor Kiss-Vamosi 2018-01-26 10:03:44 +01:00 committed by GitHub
commit a2db424eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,9 +37,9 @@ static lv_res_t lv_tabview_signal(lv_obj_t * tabview, lv_signal_t sign, void * p
static lv_res_t tabpage_signal(lv_obj_t * tab_page, lv_signal_t sign, void * param); static lv_res_t tabpage_signal(lv_obj_t * tab_page, lv_signal_t sign, void * param);
static lv_res_t tabpage_scrl_signal(lv_obj_t * tab_scrl, lv_signal_t sign, void * param); static lv_res_t tabpage_scrl_signal(lv_obj_t * tab_scrl, lv_signal_t sign, void * param);
static void tabpage_pressed_hadler(lv_obj_t * tabview, lv_obj_t * tabpage); static void tabpage_pressed_handler(lv_obj_t * tabview, lv_obj_t * tabpage);
static void tabpage_pressing_hadler(lv_obj_t * tabview, lv_obj_t * tabpage); static void tabpage_pressing_handler(lv_obj_t * tabview, lv_obj_t * tabpage);
static void tabpage_press_lost_hadler(lv_obj_t * tabview, lv_obj_t * tabpage); static void tabpage_press_lost_handler(lv_obj_t * tabview, lv_obj_t * tabpage);
static lv_res_t tab_btnm_action(lv_obj_t * tab_btnm, const char * tab_name); static lv_res_t tab_btnm_action(lv_obj_t * tab_btnm, const char * tab_name);
static void tabview_realign(lv_obj_t * tabview); static void tabview_realign(lv_obj_t * tabview);
@ -542,13 +542,13 @@ static lv_res_t tabpage_signal(lv_obj_t * tab_page, lv_signal_t sign, void * par
if(lv_tabview_get_sliding(tabview) == false) return res; if(lv_tabview_get_sliding(tabview) == false) return res;
if(sign == LV_SIGNAL_PRESSED) { if(sign == LV_SIGNAL_PRESSED) {
tabpage_pressed_hadler(tabview, tab_page); tabpage_pressed_handler(tabview, tab_page);
} }
else if(sign == LV_SIGNAL_PRESSING) { else if(sign == LV_SIGNAL_PRESSING) {
tabpage_pressing_hadler(tabview, tab_page); tabpage_pressing_handler(tabview, tab_page);
} }
else if(sign == LV_SIGNAL_RELEASED || sign == LV_SIGNAL_PRESS_LOST) { else if(sign == LV_SIGNAL_RELEASED || sign == LV_SIGNAL_PRESS_LOST) {
tabpage_press_lost_hadler(tabview, tab_page); tabpage_press_lost_handler(tabview, tab_page);
} }
return res; return res;
@ -575,13 +575,13 @@ static lv_res_t tabpage_scrl_signal(lv_obj_t * tab_scrl, lv_signal_t sign, void
if(lv_tabview_get_sliding(tabview) == false) return res; if(lv_tabview_get_sliding(tabview) == false) return res;
if(sign == LV_SIGNAL_PRESSED) { if(sign == LV_SIGNAL_PRESSED) {
tabpage_pressed_hadler(tabview, tab_page); tabpage_pressed_handler(tabview, tab_page);
} }
else if(sign == LV_SIGNAL_PRESSING) { else if(sign == LV_SIGNAL_PRESSING) {
tabpage_pressing_hadler(tabview, tab_page); tabpage_pressing_handler(tabview, tab_page);
} }
else if(sign == LV_SIGNAL_RELEASED || sign == LV_SIGNAL_PRESS_LOST) { else if(sign == LV_SIGNAL_RELEASED || sign == LV_SIGNAL_PRESS_LOST) {
tabpage_press_lost_hadler(tabview, tab_page); tabpage_press_lost_handler(tabview, tab_page);
} }
return res; return res;
@ -592,7 +592,7 @@ static lv_res_t tabpage_scrl_signal(lv_obj_t * tab_scrl, lv_signal_t sign, void
* @param tabview pointer to the btn view object * @param tabview pointer to the btn view object
* @param tabpage pointer to the page of a btn * @param tabpage pointer to the page of a btn
*/ */
static void tabpage_pressed_hadler(lv_obj_t * tabview, lv_obj_t * tabpage) static void tabpage_pressed_handler(lv_obj_t * tabview, lv_obj_t * tabpage)
{ {
(void)tabpage; (void)tabpage;
@ -606,7 +606,7 @@ static void tabpage_pressed_hadler(lv_obj_t * tabview, lv_obj_t * tabpage)
* @param tabview pointer to the btn view object * @param tabview pointer to the btn view object
* @param tabpage pointer to the page of a btn * @param tabpage pointer to the page of a btn
*/ */
static void tabpage_pressing_hadler(lv_obj_t * tabview, lv_obj_t * tabpage) static void tabpage_pressing_handler(lv_obj_t * tabview, lv_obj_t * tabpage)
{ {
lv_tabview_ext_t * ext = lv_obj_get_ext_attr(tabview); lv_tabview_ext_t * ext = lv_obj_get_ext_attr(tabview);
lv_indev_t * indev = lv_indev_get_act(); lv_indev_t * indev = lv_indev_get_act();
@ -645,7 +645,7 @@ static void tabpage_pressing_hadler(lv_obj_t * tabview, lv_obj_t * tabpage)
* @param tabview pointer to the btn view object * @param tabview pointer to the btn view object
* @param tabpage pointer to the page of a btn * @param tabpage pointer to the page of a btn
*/ */
static void tabpage_press_lost_hadler(lv_obj_t * tabview, lv_obj_t * tabpage) static void tabpage_press_lost_handler(lv_obj_t * tabview, lv_obj_t * tabpage)
{ {
lv_tabview_ext_t * ext = lv_obj_get_ext_attr(tabview); lv_tabview_ext_t * ext = lv_obj_get_ext_attr(tabview);
ext->drag_hor = 0; ext->drag_hor = 0;