mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
lv_ta: cursor type bit size fix
This commit is contained in:
parent
4751cb16c9
commit
bf00102f83
@ -49,7 +49,7 @@ enum {
|
||||
LV_CURSOR_BLOCK,
|
||||
LV_CURSOR_OUTLINE,
|
||||
LV_CURSOR_UNDERLINE,
|
||||
LV_CURSOR_HIDDEN = 0x10, /*Or it to any value to hide the cursor temporally*/
|
||||
LV_CURSOR_HIDDEN = 0x08, /*Or it to any value to hide the cursor temporally*/
|
||||
};
|
||||
typedef uint8_t lv_cursor_type_t;
|
||||
|
||||
@ -68,7 +68,7 @@ typedef struct
|
||||
lv_style_t *style; /*Style of the cursor (NULL to use label's style)*/
|
||||
lv_coord_t valid_x; /*Used when stepping up/down in text area when stepping to a shorter line. (Handled by the library)*/
|
||||
uint16_t pos; /*The current cursor position (0: before 1. letter; 1: before 2. letter etc.)*/
|
||||
lv_cursor_type_t type:3; /*Shape of the cursor*/
|
||||
lv_cursor_type_t type:4; /*Shape of the cursor*/
|
||||
uint8_t state :1; /*Indicates that the cursor is visible now or not (Handled by the library)*/
|
||||
} cursor;
|
||||
} lv_ta_ext_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user