Searched refs:newd (Results 1 – 2 of 2) sorted by relevance
114 lv_calendar_date_t newd = *d; in month_event_cb() local116 LV_ASSERT_FORMAT_MSG(newd.year >= 0 && newd.month >= 1 && newd.month <= 12, in month_event_cb()117 "Invalid date: %d-%d", newd.year, newd.month); in month_event_cb()121 if(newd.month == 1) { in month_event_cb()122 newd.month = 12; in month_event_cb()123 newd.year --; in month_event_cb()126 newd.month --; in month_event_cb()130 if(newd.month == 12) { in month_event_cb()131 newd.month = 1; in month_event_cb()132 newd.year ++; in month_event_cb()[all …]
135 lv_calendar_date_t newd = *d; in month_event_cb() local136 newd.month = sel + 1; in month_event_cb()138 lv_calendar_set_month_shown(calendar, newd.year, newd.month); in month_event_cb()157 lv_calendar_date_t newd = *d; in year_event_cb() local158 newd.year = year - sel; in year_event_cb()160 lv_calendar_set_month_shown(calendar, newd.year, newd.month); in year_event_cb()