Home
last modified time | relevance | path

Searched refs:day_first (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/src/widgets/calendar/
Dlv_calendar.c143 uint8_t day_first = get_day_of_week(d.year, d.month, 1); in lv_calendar_set_month_shown() local
151 for(i = day_first, c = 1; i < act_mo_len + day_first; i++, c++) { in lv_calendar_set_month_shown()
168 for(i = 0, c = prev_mo_len - day_first + 1; i < day_first; i++, c++) { in lv_calendar_set_month_shown()
184 for(i = day_first + act_mo_len, c = 1; i < 6 * 7; i++, c++) { in lv_calendar_set_month_shown()
200 lv_buttonmatrix_set_selected_button(calendar->btnm, day_first + 7); in lv_calendar_set_month_shown()
442 uint8_t day_first = get_day_of_week(calendar->showed_date.year, calendar->showed_date.month, 1); in highlight_update() local
447 …uttonmatrix_set_button_ctrl(calendar->btnm, calendar->highlighted_dates[i].day - 1 + day_first + 7, in highlight_update()
454 …lv_buttonmatrix_set_button_ctrl(calendar->btnm, calendar->today.day - 1 + day_first + 7, LV_CALEND… in highlight_update()