Searched refs:newd (Results 1 – 2 of 2) sorted by relevance
110 lv_calendar_date_t newd = *d; in month_event_cb() local114 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 …]
146 lv_calendar_date_t newd = *d; in month_event_cb() local147 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() local169 newd.year = year - sel; in year_event_cb()171 lv_calendar_set_showed_date(calendar, newd.year, newd.month); in year_event_cb()