Searched refs:btn_id (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_btnm.h | 143 void lv_btnm_set_btn_ctrl(const lv_obj_t * btnm, uint16_t btn_id, lv_btnm_ctrl_t ctrl); 150 void lv_btnm_clear_btn_ctrl(const lv_obj_t * btnm, uint16_t btn_id, lv_btnm_ctrl_t ctrl); 176 void lv_btnm_set_btn_width(const lv_obj_t * btnm, uint16_t btn_id, uint8_t width); 238 const char * lv_btnm_get_btn_text(const lv_obj_t * btnm, uint16_t btn_id); 248 bool lv_btnm_get_btn_ctrl(lv_obj_t * btnm, uint16_t btn_id, lv_btnm_ctrl_t ctrl);
|
A D | lv_btnm.c | 349 if(btn_id >= ext->btn_cnt) return; in lv_btnm_set_btn_ctrl() 351 ext->ctrl_bits[btn_id] |= ctrl; in lv_btnm_set_btn_ctrl() 352 invalidate_button_area(btnm, btn_id); in lv_btnm_set_btn_ctrl() 364 if(btn_id >= ext->btn_cnt) return; in lv_btnm_clear_btn_ctrl() 366 ext->ctrl_bits[btn_id] &= (~ctrl); in lv_btnm_clear_btn_ctrl() 367 invalidate_button_area(btnm, btn_id); in lv_btnm_clear_btn_ctrl() 412 if(btn_id >= ext->btn_cnt) return; in lv_btnm_set_btn_width() 413 ext->ctrl_bits[btn_id] &= (~LV_BTNM_WIDTH_MASK); in lv_btnm_set_btn_width() 514 if(btn_id > ext->btn_cnt) return NULL; in lv_btnm_get_btn_text() 521 while(btn_i != btn_id) { in lv_btnm_get_btn_text() [all …]
|
A D | lv_mbox.c | 454 uint32_t btn_id = lv_btnm_get_active_btn(ext->btnm); in lv_mbox_signal() local 455 if(btn_id != LV_BTNM_BTN_NONE) lv_event_send(mbox, LV_EVENT_VALUE_CHANGED, &btn_id); in lv_mbox_signal() 527 uint32_t btn_id = lv_mbox_get_active_btn(mbox); in lv_mbox_default_event_cb() local 528 if(btn_id == LV_BTNM_BTN_NONE) return; in lv_mbox_default_event_cb()
|
A D | lv_kb.c | 329 uint16_t btn_id = lv_btnm_get_active_btn(kb); in lv_kb_def_event_cb() local 330 if(btn_id == LV_BTNM_BTN_NONE) return; in lv_kb_def_event_cb() 331 if(lv_btnm_get_btn_ctrl(kb, btn_id, LV_BTNM_CTRL_HIDDEN | LV_BTNM_CTRL_INACTIVE)) return; in lv_kb_def_event_cb() 332 …if(lv_btnm_get_btn_ctrl(kb, btn_id, LV_BTNM_CTRL_NO_REPEAT) && event == LV_EVENT_LONG_PRESSED_REPE… in lv_kb_def_event_cb()
|
A D | lv_tabview.c | 945 uint16_t btn_id = lv_btnm_get_active_btn(tab_btnm); in tab_btnm_event_cb() local 946 if(btn_id == LV_BTNM_BTN_NONE) return; in tab_btnm_event_cb() 949 lv_btnm_set_btn_ctrl(tab_btnm, btn_id, LV_BTNM_CTRL_TGL_STATE); in tab_btnm_event_cb() 954 lv_tabview_set_tab_act(tabview, btn_id, LV_ANIM_ON); in tab_btnm_event_cb()
|
/AliOS-Things-master/components/littlevgl/src/lv_hal/ |
A D | lv_hal_indev.h | 62 uint32_t btn_id; /**< For LV_INDEV_TYPE_BUTTON the currently pressed button*/ member
|
/AliOS-Things-master/components/littlevgl/porting/ |
A D | lv_port_indev_template.c | 392 data->btn_id = last_btn;
|
/AliOS-Things-master/components/littlevgl/src/lv_core/ |
A D | lv_indev.c | 662 i->proc.types.pointer.act_point.x = i->btn_points[data->btn_id].x; in indev_button_proc() 663 i->proc.types.pointer.act_point.y = i->btn_points[data->btn_id].y; in indev_button_proc()
|
Completed in 15 milliseconds