fix simu compilation on linux

This commit is contained in:
gagarinlg
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent 96d8022384
commit d58fbe8c86
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -22,6 +22,7 @@
#include <vector>
#include <functional>
#include <utility>
#include <memory>
#include "modal_window.h"
class Menu;
+3 -3
View File
@@ -56,14 +56,14 @@ static void numberedit_cb(lv_event_t* e)
// create a new class for number edit so we can set the sytles differently if needed.
const lv_obj_class_t lv_numberedit_class = {
.base_class = &lv_obj_class,
.constructor_cb = lv_textarea_class.constructor_cb,
.destructor_cb = lv_textarea_class.destructor_cb,
.event_cb = lv_textarea_class.event_cb,
.group_def = LV_OBJ_CLASS_GROUP_DEF_TRUE,
.width_def = LV_DPI_DEF / 2,
.height_def = LV_SIZE_CONTENT,
.instance_size = sizeof(lv_textarea_t),
.base_class = &lv_obj_class
.group_def = LV_OBJ_CLASS_GROUP_DEF_TRUE,
.instance_size = sizeof(lv_textarea_t)
};
lv_obj_t *lv_numberedit_create(lv_obj_t *parent)