lv_calendar_private.h

struct _lv_calendar_t
#include <lv_calendar_private.h>

Data of calendar

Public Members

lv_obj_t obj
lv_obj_t *btnm
lv_calendar_date_t today

Date of today

lv_calendar_date_t showed_date

Currently visible month (day is ignored)

lv_calendar_date_t *highlighted_dates

Apply different style on these days (pointer to user-defined array)

size_t highlighted_dates_num

Number of elements in highlighted_days

const char *map[8 * 7]
bool use_chinese_calendar
char nums[7 * 6][20]

7 * 6: A week has 7 days, and the calendar displays 6 weeks in total. 20: Including the number of dates, line breaks, names for each day, and reserving several spaces for addresses.