start to implement the new generic event system

This commit is contained in:
Gabor Kiss-Vamosi
2019-02-26 09:25:46 +01:00
parent cc3ef640da
commit 50e69bab6b
49 changed files with 403 additions and 806 deletions

View File

@@ -33,8 +33,8 @@ static void refr_size(lv_obj_t * table);
/**********************
* STATIC VARIABLES
**********************/
static lv_signal_func_t ancestor_signal;
static lv_design_func_t ancestor_scrl_design;
static lv_signal_cb_t ancestor_signal;
static lv_design_cb_t ancestor_scrl_design;
/**********************
* MACROS
@@ -81,8 +81,8 @@ lv_obj_t * lv_table_create(lv_obj_t * par, const lv_obj_t * copy)
}
/*The signal and design functions are not copied so set them here*/
lv_obj_set_signal_func(new_table, lv_table_signal);
lv_obj_set_design_func(new_table, lv_table_design);
lv_obj_set_signal_cb(new_table, lv_table_signal);
lv_obj_set_design_cb(new_table, lv_table_design);
/*Init the new table table*/
if(copy == NULL) {