aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/textarea/lv_textarea_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/textarea/lv_textarea_private.h')
-rw-r--r--src/widgets/textarea/lv_textarea_private.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/widgets/textarea/lv_textarea_private.h b/src/widgets/textarea/lv_textarea_private.h
index e453de758..e2d3aaab9 100644
--- a/src/widgets/textarea/lv_textarea_private.h
+++ b/src/widgets/textarea/lv_textarea_private.h
@@ -27,34 +27,34 @@ extern "C" {
* TYPEDEFS
**********************/
-/*Data of text area*/
+/** Data of text area */
struct lv_textarea_t {
lv_obj_t obj;
- lv_obj_t * label; /*Label of the text area*/
- char * placeholder_txt; /*Place holder label. only visible if text is an empty string*/
- char * pwd_tmp; /*Used to store the original text in password mode*/
- char * pwd_bullet; /*Replacement characters displayed in password mode*/
- const char * accepted_chars; /*Only these characters will be accepted. NULL: accept all*/
- uint32_t max_length; /*The max. number of characters. 0: no limit*/
- uint32_t pwd_show_time; /*Time to show characters in password mode before change them to '*'*/
+ lv_obj_t * label; /**< Label of the text area */
+ char * placeholder_txt; /**< Place holder label. only visible if text is an empty string */
+ char * pwd_tmp; /**< Used to store the original text in password mode */
+ char * pwd_bullet; /**< Replacement characters displayed in password mode */
+ const char * accepted_chars; /**< Only these characters will be accepted. NULL: accept all */
+ uint32_t max_length; /**< The max. number of characters. 0: no limit */
+ uint32_t pwd_show_time; /**< Time to show characters in password mode before change them to '*' */
struct {
- int32_t valid_x; /*Used when stepping up/down to a shorter line.
- *(Used by the library)*/
- uint32_t pos; /*The current cursor position
- *(0: before 1st letter; 1: before 2nd letter ...)*/
- lv_area_t area; /*Cursor area relative to the Text Area*/
- uint32_t txt_byte_pos; /*Byte index of the letter after (on) the cursor*/
- uint8_t show : 1; /*Cursor is visible now or not (Handled by the library)*/
- uint8_t click_pos : 1; /*1: Enable positioning the cursor by clicking the text area*/
+ int32_t valid_x; /**< Used when stepping up/down to a shorter line.
+ *(Used by the library) */
+ uint32_t pos; /**< The current cursor position
+ *(0: before 1st letter; 1: before 2nd letter ...) */
+ lv_area_t area; /**< Cursor area relative to the Text Area */
+ uint32_t txt_byte_pos; /**< Byte index of the letter after (on) the cursor */
+ uint8_t show : 1; /**< Cursor is visible now or not (Handled by the library) */
+ uint8_t click_pos : 1; /**< 1: Enable positioning the cursor by clicking the text area */
} cursor;
#if LV_LABEL_TEXT_SELECTION
- uint32_t sel_start; /*Temporary values for text selection*/
+ uint32_t sel_start; /**< Temporary values for text selection */
uint32_t sel_end;
- uint8_t text_sel_in_prog : 1; /*User is in process of selecting*/
- uint8_t text_sel_en : 1; /*Text can be selected on this text area*/
+ uint8_t text_sel_in_prog : 1; /**< User is in process of selecting */
+ uint8_t text_sel_en : 1; /**< Text can be selected on this text area */
#endif
- uint8_t pwd_mode : 1; /*Replace characters with '*'*/
- uint8_t one_line : 1; /*One line mode (ignore line breaks)*/
+ uint8_t pwd_mode : 1; /**< Replace characters with '*' */
+ uint8_t one_line : 1; /**< One line mode (ignore line breaks) */
};