Lines Matching refs:newd
110 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()
135 lv_label_set_text_fmt(label, "%d %s", newd.year, month_names_def[newd.month - 1]); in month_event_cb()