/lvgl-latest/examples/widgets/calendar/ |
D | lv_example_calendar_1.c | 10 lv_calendar_date_t date; in event_handler() local 11 if(lv_calendar_get_pressed_date(obj, &date)) { in event_handler() 12 LV_LOG_USER("Clicked date: %02d.%02d.%d", date.day, date.month, date.year); in event_handler()
|
/lvgl-latest/src/widgets/calendar/ |
D | lv_calendar_header_arrow.c | 150 const lv_calendar_date_t * date = lv_calendar_get_showed_date(calendar); in value_changed_event_cb() local 151 LV_ASSERT_FORMAT_MSG(date->year >= 0 && date->month >= 1 && date->month <= 12, in value_changed_event_cb() 152 "Invalid date: %d-%d", date->year, date->month); in value_changed_event_cb() 155 lv_label_set_text_fmt(label, "%d %s", date->year, month_names_def[date->month - 1]); in value_changed_event_cb()
|
D | lv_calendar.c | 258 lv_result_t lv_calendar_get_pressed_date(const lv_obj_t * obj, lv_calendar_date_t * date) in lv_calendar_get_pressed_date() argument 265 date->year = 0; in lv_calendar_get_pressed_date() 266 date->month = 0; in lv_calendar_get_pressed_date() 267 date->day = 0; in lv_calendar_get_pressed_date() 273 if(txt[1] == 0) date->day = txt[0] - '0'; in lv_calendar_get_pressed_date() 274 else date->day = (txt[0] - '0') * 10 + (txt[1] - '0'); in lv_calendar_get_pressed_date() 276 date->year = calendar->showed_date.year; in lv_calendar_get_pressed_date() 277 date->month = calendar->showed_date.month; in lv_calendar_get_pressed_date()
|
D | lv_calendar.h | 140 lv_result_t lv_calendar_get_pressed_date(const lv_obj_t * calendar, lv_calendar_date_t * date);
|
/lvgl-latest/docs/details/widgets/ |
D | calendar.rst | 53 Current date 56 To set the current date (today), use the 63 To set the shown date, use 118 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` Sent if a date is clicked. 119 :cpp:expr:`lv_calendar_get_pressed_date(calendar, &date)` to set ``date`` to the 120 date currently being pressed. Returns :cpp:enumerator:`LV_RESULT_OK` if there is a 121 valid pressed date; otherwise it returns :cpp:enumerator:`LV_RESULT_INVALID`. 138 - :cpp:enumerator:`LV_KEY_ENTER` To press/release the selected date
|
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_home.c | 91 lv_obj_t * date = lv_spangroup_create(date_and_time); in lv_demo_high_res_home() local 92 lv_obj_add_style(date, &c->fonts[FONT_HEADING_MD], 0); in lv_demo_high_res_home() 93 lv_obj_add_style(date, &c->styles[STYLE_COLOR_BASE][STYLE_TYPE_TEXT], 0); in lv_demo_high_res_home() 94 lv_spangroup_new_span(date); in lv_demo_high_res_home() 95 lv_span_t * day_and_month = lv_spangroup_new_span(date); in lv_demo_high_res_home() 96 lv_subject_add_observer_obj(&c->th, theme_observer_accent_span_cb, date, day_and_month); in lv_demo_high_res_home() 97 lv_subject_add_observer_obj(&c->subject_groups.date.group, date_observer_cb, date, c); in lv_demo_high_res_home()
|
D | lv_demo_high_res_util.c | 326 c->subject_groups.date.members[0] = &c->api.subjects.week_day_name; in lv_demo_high_res_base_obj_create() 327 c->subject_groups.date.members[1] = &c->api.subjects.month_day; in lv_demo_high_res_base_obj_create() 328 c->subject_groups.date.members[2] = &c->api.subjects.month_name; in lv_demo_high_res_base_obj_create() 329 lv_subject_init_group(&c->subject_groups.date.group, c->subject_groups.date.members, in lv_demo_high_res_base_obj_create() 330 ARRAY_LEN(c->subject_groups.date.members)); in lv_demo_high_res_base_obj_create() 581 lv_subject_deinit(&c->subject_groups.date.group); in free_ctx_event_cb()
|
D | lv_demo_high_res_private.h | 178 } date; member
|
D | lv_demo_high_res_top_margin.c | 84 lv_subject_add_observer_obj(&c->subject_groups.date.group, date_observer_cb, date_label, c); in lv_demo_high_res_top_margin_create()
|
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_home.h | 95 void lv_demo_smartwatch_home_set_time(int minute, int hour, const char * am_pm, int date, const cha…
|
D | lv_demo_smartwatch.h | 122 void lv_demo_smartwatch_home_set_time(int minute, int hour, const char * am_pm, int date, const cha…
|
D | lv_demo_smartwatch_home.c | 174 void lv_demo_smartwatch_home_set_time(int minute, int hour, const char * am_pm, int date, const cha… in lv_demo_smartwatch_home_set_time() argument 180 lv_label_set_text_fmt(date_label, "%02d\n%s", date, month); in lv_demo_smartwatch_home_set_time()
|
/lvgl-latest/env_support/cmsis-pack/ |
D | gen_pack.sh | 64 echo Starting CMSIS-Pack Generation: `date` 238 echo Completed CMSIS-Pack Generation: `date`
|
/lvgl-latest/scripts/ |
D | code-format.cfg | 30 --preserve-date
|
/lvgl-latest/demos/widgets/ |
D | lv_demo_widgets.c | 888 lv_obj_t * date = lv_label_create(panel1); in shop_create() local 889 lv_label_set_text(date, "8-15 July, 2021"); in shop_create() 890 lv_obj_add_style(date, &style_text_muted, 0); in shop_create() 931 lv_obj_set_grid_cell(date, LV_GRID_ALIGN_START, 0, 1, LV_GRID_ALIGN_START, 1, 1); in shop_create() 951 lv_obj_set_grid_cell(date, LV_GRID_ALIGN_START, 1, 1, LV_GRID_ALIGN_CENTER, 0, 1); in shop_create() 973 lv_obj_set_grid_cell(date, LV_GRID_ALIGN_START, 0, 1, LV_GRID_ALIGN_START, 1, 1); in shop_create()
|
/lvgl-latest/docs/intro/ |
D | introduction.rst | 135 | Version | Release date | Support end | Active |
|
/lvgl-latest/docs/ |
D | Doxyfile | 1200 # page will contain the date and time when the page was generated. Setting this 1202 # documentation is up to date. 1696 # $datetime, $date, $doxygenversion, $projectname, $projectnumber, 1786 # page will contain the date and time when the page was generated. Setting this
|