diff --git a/src/lv_core/lv_obj.h b/src/lv_core/lv_obj.h index d505f137f..2a856ef2f 100644 --- a/src/lv_core/lv_obj.h +++ b/src/lv_core/lv_obj.h @@ -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*/