add reserved bits to lv_obj_t
This commit is contained in:
@@ -210,15 +210,16 @@ typedef struct _lv_obj_t
|
||||
#endif
|
||||
|
||||
/*Attributes and states*/
|
||||
uint8_t click : 1; /*1: Can be pressed by an input device*/
|
||||
uint8_t drag : 1; /*1: Enable the dragging*/
|
||||
uint8_t click :1; /*1: Can be pressed by an input device*/
|
||||
uint8_t drag :1; /*1: Enable the dragging*/
|
||||
uint8_t drag_throw :1; /*1: Enable throwing with drag*/
|
||||
uint8_t drag_parent :1; /*1: Parent will be dragged instead*/
|
||||
uint8_t hidden :1; /*1: Object is hidden*/
|
||||
uint8_t top :1; /*1: If the object or its children is clicked it goes to the foreground*/
|
||||
uint8_t opa_scale_en :1; /*1: opa_scale is set*/
|
||||
uint8_t parent_event :1; /*1: Send the object's events to the parent too. */
|
||||
lv_drag_dir_t drag_dir : 2; /* Which directions the object can be dragged in */
|
||||
uint8_t drag_throw : 1; /*1: Enable throwing with drag*/
|
||||
uint8_t drag_parent : 1; /*1: Parent will be dragged instead*/
|
||||
uint8_t hidden : 1; /*1: Object is hidden*/
|
||||
uint8_t top : 1; /*1: If the object or its children is clicked it goes to the foreground*/
|
||||
uint8_t opa_scale_en : 1; /*1: opa_scale is set*/
|
||||
uint8_t parent_event : 1; /*1: Send the object's events to the parent too. */
|
||||
uint8_t reserved :6; /*Reserved for future use*/
|
||||
uint8_t protect; /*Automatically happening actions can be prevented. 'OR'ed values from
|
||||
`lv_protect_t`*/
|
||||
lv_opa_t opa_scale; /*Scale down the opacity by this factor. Effects all children as well*/
|
||||
|
||||
Reference in New Issue
Block a user