lv_textarea_private.h
API reference for lv_textarea_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_textarea.h
Summary
Structs
struct
_lv_textarea_t
Data of text area
| Member | Type | Description |
|---|---|---|
obj | lv_obj_t | |
label | lv_obj_t * | Label of the text area |
placeholder_txt | char * | Place holder label. only visible if text is an empty string |
placeholder_txt_size | lv_point_t | |
pwd_tmp | char * | Size of the placeholder text Used to store the original text in password mode |
pwd_bullet | char * | Replacement characters displayed in password mode |
accepted_chars | char * | Only these characters will be accepted. NULL: accept all |
max_length | uint32_t | The max. number of characters. 0: no limit |
pwd_show_time | uint32_t | Time to show characters in password mode before change them to '*' |
valid_x | int32_t | Used when stepping up/down to a shorter line. (Used by the library) |
pos | uint32_t | The current cursor position (0: before 1st letter; 1: before 2nd letter ...) |
area | lv_area_t | Cursor area relative to the Text Area |
txt_byte_pos | uint32_t | Byte index of the letter after (on) the cursor |
show | uint8_t | Cursor is visible now or not (Handled by the library) |
click_pos | uint8_t | 1: Enable positioning the cursor by clicking the text area |
cursor | struct _lv_textarea_t | |
sel_start | uint32_t | Temporary values for text selection |
sel_end | uint32_t | |
text_sel_in_prog | uint8_t | User is in process of selecting |
text_sel_en | uint8_t | Text can be selected on this text area |
pwd_mode | uint8_t | Replace characters with '*' |
one_line | uint8_t | One line mode (ignore line breaks) |
static_accepted_chars | uint8_t | 1: Only a pointer is saved in accepted_chars |
Dependencies
lv_obj_private.hlvgl_public.h
Indirect dependencies
Last updated on