Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/widgets/calendar/
Dlv_calendar_header_arrow.c110 lv_calendar_date_t newd = *d; in month_event_cb() local
114 if(newd.month == 1) { in month_event_cb()
115 newd.month = 12; in month_event_cb()
116 newd.year --; in month_event_cb()
119 newd.month --; in month_event_cb()
123 if(newd.month == 12) { in month_event_cb()
124 newd.month = 1; in month_event_cb()
125 newd.year ++; in month_event_cb()
128 newd.month ++; in month_event_cb()
132 lv_calendar_set_showed_date(calendar, newd.year, newd.month); in month_event_cb()
[all …]
Dlv_calendar_header_dropdown.c146 lv_calendar_date_t newd = *d; in month_event_cb() local
147 newd.month = sel + 1; in month_event_cb()
149 lv_calendar_set_showed_date(calendar, newd.year, newd.month); in month_event_cb()
161 lv_calendar_date_t newd = *d; in year_event_cb() local
169 newd.year = year - sel; in year_event_cb()
171 lv_calendar_set_showed_date(calendar, newd.year, newd.month); in year_event_cb()