/lvgl-3.6.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); 35 static uint8_t is_leap_year(uint32_t year); 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 89 calendar->today.year = year; 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 114 calendar->showed_date.year = year; in lv_calendar_set_showed_date() 119 d.year = calendar->showed_date.year; 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() [all …]
|
D | lv_calendar_header_arrow.c | 116 newd.year --; in month_event_cb() 125 newd.year ++; 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 | 32 uint16_t year; 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 | 110 lv_calendar_set_showed_date(calendar, newd.year, newd.month); in month_event_cb() 123 newd.year = 2023 - sel; in year_event_cb() 125 lv_calendar_set_showed_date(calendar, newd.year, newd.month); in year_event_cb() 135 lv_dropdown_set_selected(year_dd, 2023 - cur_date->year); in value_changed_event_cb()
|
/lvgl-3.6.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() 29 highlighted_days[0].year = 2021; in lv_example_calendar_1() 33 highlighted_days[1].year = 2021; in lv_example_calendar_1() 37 highlighted_days[2].year = 2022; 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.6.0/docs/widgets/extra/ |
D | calendar.md | 15 To make the Calendar flexible, by default it doesn't show the current year or month. Instead, there… 31 Some functions use the `lv_calendar_date_t` type which is a structure with `year`, `month` and `day… 34 To set the current date (today), use the `lv_calendar_set_today_date(calendar, year, month, day)` f… 37 To set the shown date, use `lv_calendar_set_shown_date(calendar, year, month)`; 63 … contains a left and right arrow on the sides and a text with the current year and month between t… 67 …calendar)` creates a header that contains 2 drop-drown lists: one for the year and another for the…
|
/lvgl-3.6.0/docs/intro/ |
D | index.md | 98 Before v8 the last minor release of each major series was supported for 1 year. 99 Starting from v8, every minor release is supported for 1 year.
|
/lvgl-3.6.0/src/extra/libs/png/ |
D | lodepng.h | 421 unsigned year; /*2 bytes used (0-65535)*/ member
|
D | lodepng.c | 4611 info->time.year = 256u * data[0] + data[1]; in readChunk_tIME() 5305 chunk[8] = (unsigned char)(time->year >> 8); in addChunk_tIME() 5306 chunk[9] = (unsigned char)(time->year & 255); in addChunk_tIME()
|
/lvgl-3.6.0/docs/ |
D | CONTRIBUTING.md | 296 - If there is no activity in a repo for 1 year it will be archived
|
D | CHANGELOG.md | 1333 - docs update company name and year [`2476`](https://github.com/lvgl/lvgl/pull/2476) 1390 - docs(license) update company name and year [`7c1eb00`](https://github.com/lvgl/lvgl/commit/7c1eb0…
|
/lvgl-3.6.0/demos/widgets/ |
D | lv_demo_widgets.c | 1285 lv_snprintf(buf, sizeof(buf), "%02d.%02d.%d", d.day, d.month, d.year); in calendar_event_cb()
|