/lvgl-3.7.0/src/extra/widgets/calendar/ |
D | lv_calendar.c | 33 static uint8_t get_day_of_week(uint32_t year, uint32_t month, uint32_t day); 34 static uint8_t get_month_length(int32_t year, int32_t month); 84 void lv_calendar_set_today_date(lv_obj_t * obj, uint32_t year, uint32_t month, uint32_t day) in lv_calendar_set_today_date() argument 90 calendar->today.month = month; in lv_calendar_set_today_date() 109 void lv_calendar_set_showed_date(lv_obj_t * obj, uint32_t year, uint32_t month) in lv_calendar_set_showed_date() argument 115 calendar->showed_date.month = month; in lv_calendar_set_showed_date() 120 d.month = calendar->showed_date.month; in lv_calendar_set_showed_date() 131 uint8_t act_mo_len = get_month_length(d.year, d.month); in lv_calendar_set_showed_date() 132 uint8_t day_first = get_day_of_week(d.year, d.month, 1); in lv_calendar_set_showed_date() 138 uint8_t prev_mo_len = get_month_length(d.year, d.month - 1); in lv_calendar_set_showed_date() [all …]
|
D | lv_calendar_header_arrow.c | 114 if(newd.month == 1) { in month_event_cb() 115 newd.month = 12; 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() 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() 145 lv_label_set_text_fmt(label, "%d %s", cur_date->year, month_names_def[cur_date->month - 1]); in value_changed_event_cb()
|
D | lv_calendar.h | 33 int8_t month; /** 1..12*/ member 74 void lv_calendar_set_today_date(lv_obj_t * obj, uint32_t year, uint32_t month, uint32_t day); 82 void lv_calendar_set_showed_date(lv_obj_t * obj, uint32_t year, uint32_t month);
|
D | lv_calendar_header_dropdown.c | 147 newd.month = sel + 1; in month_event_cb() 149 lv_calendar_set_showed_date(calendar, newd.year, newd.month); in month_event_cb() 171 lv_calendar_set_showed_date(calendar, newd.year, newd.month); in year_event_cb() 191 lv_dropdown_set_selected(month_dd, cur_date->month - 1); in value_changed_event_cb()
|
/lvgl-3.7.0/examples/widgets/calendar/ |
D | lv_example_calendar_1.c | 12 LV_LOG_USER("Clicked date: %02d.%02d.%d", date.day, date.month, date.year); in event_handler() 30 highlighted_days[0].month = 02; in lv_example_calendar_1() 34 highlighted_days[1].month = 02; in lv_example_calendar_1() 38 highlighted_days[2].month = 02; in lv_example_calendar_1()
|
D | lv_example_calendar_1.py | 9 calendar.set_today_date(date.year, date.month, date.day) 10 print("Clicked date: %02d.%02d.%02d"%(date.day, date.month, date.year))
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | calendar.md | 8 - show the days of any month in a 7x7 matrix 15 To make the Calendar flexible, by default it doesn't show the current year or month. Instead, there… 24 - days of the previous and next month have `LV_BTNMATRIX_CTRL_DISABLED` flag 31 Some functions use the `lv_calendar_date_t` type which is a structure with `year`, `month` and `day… 34 … (today), use the `lv_calendar_set_today_date(calendar, year, month, day)` function. `month` needs… 37 To set the shown date, use `lv_calendar_set_shown_date(calendar, year, month)`; 70 …ntains a left and right arrow on the sides and a text with the current year and month between them. 74 …ar)` creates a header that contains 2 drop-drown lists: one for the year and another for the month.
|
/lvgl-3.7.0/examples/widgets/chart/ |
D | lv_example_chart_3.c | 10 …const char * month[] = {"Jan", "Febr", "March", "Apr", "May", "Jun", "July", "Aug", "Sept", "Oct",… in draw_event_cb() local 11 lv_snprintf(dsc->text, dsc->text_length, "%s", month[dsc->value]); in draw_event_cb()
|
D | lv_example_chart_3.py | 5 … month = ["Jan", "Febr", "March", "Apr", "May", "Jun", "July", "Aug", "Sept", "Oct", "Nov", "Dec"] 7 dsc.text = bytes(month[dsc.value],"ascii")
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.c | 1274 lv_snprintf(buf, sizeof(buf), "%02d.%02d.%d", d.day, d.month, d.year); in calendar_event_cb() 1342 … const char * month[] = {"I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII"}; in chart_event_cb() local 1343 lv_snprintf(dsc->text, dsc->text_length, "%s", month[dsc->value]); in chart_event_cb() 1346 …const char * month[] = {"Jan", "Febr", "March", "Apr", "May", "Jun", "July", "Aug", "Sept", "Oct",… in chart_event_cb() local 1347 lv_snprintf(dsc->text, dsc->text_length, "%s", month[dsc->value]); in chart_event_cb() 1463 …const char * month[] = {"Jan", "Febr", "March", "Apr", "May", "Jun", "July", "Aug", "Sept", "Oct",… in shop_chart_event_cb() local 1464 lv_snprintf(dsc->text, dsc->text_length, "%s", month[dsc->value]); in shop_chart_event_cb()
|
/lvgl-3.7.0/docs/get-started/platforms/ |
D | tasmota-berry.md | 5 …oud services. Tasmota firmware is downloaded more than 200,000 times each month, and has an active…
|
/lvgl-3.7.0/src/extra/libs/png/ |
D | lodepng.h | 422 unsigned month; /*1-12*/ member
|
D | lodepng.c | 4612 info->time.month = data[2]; in readChunk_tIME() 5307 chunk[10] = (unsigned char)time->month; in addChunk_tIME()
|
/lvgl-3.7.0/docs/ |
D | CHANGELOG.md | 1678 - Minor releases are expected in every 3-4 month
|