Lines Matching refs:btnm

126     lv_btnmatrix_clear_btn_ctrl_all(calendar->btnm, LV_BTNMATRIX_CTRL_DISABLED);  in lv_calendar_set_showed_date()
128 lv_btnmatrix_set_btn_ctrl(calendar->btnm, i, LV_BTNMATRIX_CTRL_DISABLED); in lv_calendar_set_showed_date()
141 lv_btnmatrix_set_btn_ctrl(calendar->btnm, i + 7, LV_BTNMATRIX_CTRL_DISABLED); in lv_calendar_set_showed_date()
146 lv_btnmatrix_set_btn_ctrl(calendar->btnm, i + 7, LV_BTNMATRIX_CTRL_DISABLED); in lv_calendar_set_showed_date()
152 if(lv_btnmatrix_get_selected_btn(calendar->btnm) != LV_BTNMATRIX_BTN_NONE) { in lv_calendar_set_showed_date()
153 lv_btnmatrix_set_selected_btn(calendar->btnm, day_first + 7); in lv_calendar_set_showed_date()
163 if(child == calendar->btnm) continue; in lv_calendar_set_showed_date()
176 return calendar->btnm; in lv_calendar_get_btnmatrix()
216 uint16_t d = lv_btnmatrix_get_selected_btn(calendar->btnm); in lv_calendar_get_pressed_date()
224 …t char * txt = lv_btnmatrix_get_btn_text(calendar->btnm, lv_btnmatrix_get_selected_btn(calendar->b… in lv_calendar_get_pressed_date()
275 calendar->btnm = lv_btnmatrix_create(obj); in lv_calendar_constructor()
276 lv_btnmatrix_set_map(calendar->btnm, calendar->map); in lv_calendar_constructor()
277 …lv_btnmatrix_set_btn_ctrl_all(calendar->btnm, LV_BTNMATRIX_CTRL_CLICK_TRIG | LV_BTNMATRIX_CTRL_NO_… in lv_calendar_constructor()
278 lv_obj_add_event_cb(calendar->btnm, draw_part_begin_event_cb, LV_EVENT_DRAW_PART_BEGIN, NULL); in lv_calendar_constructor()
279 lv_obj_set_width(calendar->btnm, lv_pct(100)); in lv_calendar_constructor()
282 lv_obj_set_flex_grow(calendar->btnm, 1); in lv_calendar_constructor()
287 lv_obj_add_flag(calendar->btnm, LV_OBJ_FLAG_EVENT_BUBBLE); in lv_calendar_constructor()
383 …lv_btnmatrix_clear_btn_ctrl_all(calendar->btnm, LV_CALENDAR_CTRL_TODAY | LV_CALENDAR_CTRL_HIGHLIGH… in highlight_update()
390 … lv_btnmatrix_set_btn_ctrl(calendar->btnm, calendar->highlighted_dates[i].day - 1 + day_first + 7, in highlight_update()
397 …lv_btnmatrix_set_btn_ctrl(calendar->btnm, calendar->today.day - 1 + day_first + 7, LV_CALENDAR_CTR… in highlight_update()