fix: add missing init params in lv_numberedit_class to please old GCC
This commit is contained in:
committed by
Raphael Coeffic
parent
bc7f9f6f09
commit
6d7c8ed059
@@ -59,9 +59,11 @@ const lv_obj_class_t lv_numberedit_class = {
|
|||||||
.base_class = &lv_obj_class,
|
.base_class = &lv_obj_class,
|
||||||
.constructor_cb = lv_textarea_class.constructor_cb,
|
.constructor_cb = lv_textarea_class.constructor_cb,
|
||||||
.destructor_cb = lv_textarea_class.destructor_cb,
|
.destructor_cb = lv_textarea_class.destructor_cb,
|
||||||
|
.user_data = nullptr,
|
||||||
.event_cb = lv_textarea_class.event_cb,
|
.event_cb = lv_textarea_class.event_cb,
|
||||||
.width_def = LV_DPI_DEF / 2,
|
.width_def = LV_DPI_DEF / 2,
|
||||||
.height_def = LV_SIZE_CONTENT,
|
.height_def = LV_SIZE_CONTENT,
|
||||||
|
.editable = LV_OBJ_CLASS_EDITABLE_TRUE,
|
||||||
.group_def = LV_OBJ_CLASS_GROUP_DEF_TRUE,
|
.group_def = LV_OBJ_CLASS_GROUP_DEF_TRUE,
|
||||||
.instance_size = sizeof(lv_textarea_t)
|
.instance_size = sizeof(lv_textarea_t)
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user