aboutsummaryrefslogtreecommitdiff
path: root/src/core/lv_obj_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lv_obj_class.h')
-rw-r--r--src/core/lv_obj_class.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/core/lv_obj_class.h b/src/core/lv_obj_class.h
index 09f157f94..4c3bdcb24 100644
--- a/src/core/lv_obj_class.h
+++ b/src/core/lv_obj_class.h
@@ -43,42 +43,6 @@ typedef enum {
} lv_obj_class_theme_inheritable_t;
typedef void (*lv_obj_class_event_cb_t)(lv_obj_class_t * class_p, lv_event_t * e);
-/**
- * Describe the common methods of every object.
- * Similar to a C++ class.
- */
-struct _lv_obj_class_t {
- const lv_obj_class_t * base_class;
- /*class_p is the final class while obj->class_p is the class currently being [de]constructed.*/
- void (*constructor_cb)(const lv_obj_class_t * class_p, lv_obj_t * obj);
- void (*destructor_cb)(const lv_obj_class_t * class_p, lv_obj_t * obj);
-
- /*class_p is the class in which event is being processed.*/
- void (*event_cb)(const lv_obj_class_t * class_p, lv_event_t * e); /**< Widget type specific event function*/
-
-#if LV_USE_OBJ_PROPERTY
- uint32_t prop_index_start;
- uint32_t prop_index_end;
- const lv_property_ops_t * properties;
- uint32_t properties_count;
-
-#if LV_USE_OBJ_PROPERTY_NAME
- /* An array of property ID and name */
- const lv_property_name_t * property_names;
- uint32_t names_count;
-#endif
-#endif
-
- void * user_data;
- const char * name;
- int32_t width_def;
- int32_t height_def;
- uint32_t editable : 2; /**< Value from ::lv_obj_class_editable_t*/
- uint32_t group_def : 2; /**< Value from ::lv_obj_class_group_def_t*/
- uint32_t instance_size : 16;
- uint32_t theme_inheritable : 1; /**< Value from ::lv_obj_class_theme_inheritable_t*/
-};
-
/**********************
* GLOBAL PROTOTYPES
**********************/
@@ -93,8 +57,6 @@ lv_obj_t * lv_obj_class_create_obj(const lv_obj_class_t * class_p, lv_obj_t * pa
void lv_obj_class_init_obj(lv_obj_t * obj);
-void _lv_obj_destruct(lv_obj_t * obj);
-
bool lv_obj_is_editable(lv_obj_t * obj);
bool lv_obj_is_group_def(lv_obj_t * obj);