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
Indirect dependencies
lv_anim.hlv_area.hlv_array.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_internal.hlv_conf_kconfig.hlv_display.hlv_draw.hlv_draw_arc.hlv_draw_blur.hlv_draw_buf.hlv_draw_image.hlv_draw_label.hlv_draw_line.hlv_draw_rect.hlv_draw_triangle.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_group.hlv_image_decoder.hlv_image_dsc.hlv_indev.hlv_label.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_obj.hlv_obj_class.hlv_obj_draw.hlv_obj_event.hlv_obj_pos.hlv_obj_property.hlv_obj_property_names.hlv_obj_scroll.hlv_obj_style.hlv_obj_style_gen.hlv_obj_tree.hlv_observer.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_style_properties.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.hlv_types.h
How is this guide?
Last updated on