diff options
Diffstat (limited to 'src/widgets/label/lv_label_private.h')
-rw-r--r-- | src/widgets/label/lv_label_private.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/widgets/label/lv_label_private.h b/src/widgets/label/lv_label_private.h index 84652a903..81a2e68ec 100644 --- a/src/widgets/label/lv_label_private.h +++ b/src/widgets/label/lv_label_private.h @@ -32,10 +32,10 @@ struct lv_label_t { lv_obj_t obj; char * text; union { - char * tmp_ptr; /*Pointer to the allocated memory containing the character replaced by dots*/ - char tmp[LV_LABEL_DOT_NUM + 1]; /*Directly store the characters if <=4 characters*/ + char * tmp_ptr; /**< Pointer to the allocated memory containing the character replaced by dots */ + char tmp[LV_LABEL_DOT_NUM + 1]; /**< Directly store the characters if <=4 characters */ } dot; - uint32_t dot_end; /*The real text length, used in dot mode*/ + uint32_t dot_end; /**< The real text length, used in dot mode */ #if LV_LABEL_LONG_TXT_HINT lv_draw_label_hint_t hint; @@ -46,13 +46,13 @@ struct lv_label_t { uint32_t sel_end; #endif - lv_point_t size_cache; /*Text size cache*/ - lv_point_t offset; /*Text draw position offset*/ - lv_label_long_mode_t long_mode : 3; /*Determine what to do with the long texts*/ - uint8_t static_txt : 1; /*Flag to indicate the text is static*/ - uint8_t expand : 1; /*Ignore real width (used by the library with LV_LABEL_LONG_SCROLL)*/ - uint8_t dot_tmp_alloc : 1; /*1: dot is allocated, 0: dot directly holds up to 4 chars*/ - uint8_t invalid_size_cache : 1; /*1: Recalculate size and update cache*/ + lv_point_t size_cache; /**< Text size cache */ + lv_point_t offset; /**< Text draw position offset */ + lv_label_long_mode_t long_mode : 3; /**< Determine what to do with the long texts */ + uint8_t static_txt : 1; /**< Flag to indicate the text is static */ + uint8_t expand : 1; /**< Ignore real width (used by the library with LV_LABEL_LONG_SCROLL) */ + uint8_t dot_tmp_alloc : 1; /**< 1: dot is allocated, 0: dot directly holds up to 4 chars */ + uint8_t invalid_size_cache : 1; /**< 1: Recalculate size and update cache */ }; |