aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/calendar/lv_calendar_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/calendar/lv_calendar_private.h')
-rw-r--r--src/widgets/calendar/lv_calendar_private.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/widgets/calendar/lv_calendar_private.h b/src/widgets/calendar/lv_calendar_private.h
index 9150a9411..d4a9b535b 100644
--- a/src/widgets/calendar/lv_calendar_private.h
+++ b/src/widgets/calendar/lv_calendar_private.h
@@ -27,27 +27,27 @@ extern "C" {
* TYPEDEFS
**********************/
-/*Data of calendar*/
+/** Data of calendar */
struct lv_calendar_t {
lv_obj_t obj;
- /*New data for this type*/
+ /* New data for this type */
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`*/
+ 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];
#ifdef LV_USE_CALENDAR_CHINESE
bool use_chinese_calendar;
- /* 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.*/
+ /** 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. */
char nums [7 * 6][20];
#else
- /* 7 * 6: A week has 7 days, and the calendar displays 6 weeks in total.
- 6: Including the number of dates, and reserving several spaces for
- addresses.*/
+ /** 7 * 6: A week has 7 days, and the calendar displays 6 weeks in total.
+ * 6: Including the number of dates, and reserving several spaces for
+ * addresses.*/
char nums [7 * 6][4];
#endif
};