|
|
@ -348,7 +348,7 @@ static void screen_stepinf_s1_event_handler (lv_event_t *e) |
|
|
switch (code) { |
|
|
switch (code) { |
|
|
case LV_EVENT_CLICKED: |
|
|
case LV_EVENT_CLICKED: |
|
|
{ |
|
|
{ |
|
|
uint16_t id = lv_dropdown_get_selected(guider_ui.screen_stepinf_s1); |
|
|
//uint16_t id = lv_dropdown_get_selected(guider_ui.screen_stepinf_s1);
|
|
|
lv_obj_clear_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_clear_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s3b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s3b, LV_OBJ_FLAG_HIDDEN); |
|
|
@ -365,7 +365,7 @@ static void screen_stepinf_s2_event_handler (lv_event_t *e) |
|
|
switch (code) { |
|
|
switch (code) { |
|
|
case LV_EVENT_CLICKED: |
|
|
case LV_EVENT_CLICKED: |
|
|
{ |
|
|
{ |
|
|
uint16_t id = lv_dropdown_get_selected(guider_ui.screen_stepinf_s2); |
|
|
//uint16_t id = lv_dropdown_get_selected(guider_ui.screen_stepinf_s2);
|
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_clear_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_clear_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s3b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s3b, LV_OBJ_FLAG_HIDDEN); |
|
|
@ -382,7 +382,7 @@ static void screen_stepinf_s3_event_handler (lv_event_t *e) |
|
|
switch (code) { |
|
|
switch (code) { |
|
|
case LV_EVENT_CLICKED: |
|
|
case LV_EVENT_CLICKED: |
|
|
{ |
|
|
{ |
|
|
uint16_t id = lv_dropdown_get_selected(guider_ui.screen_stepinf_s3); |
|
|
//uint16_t id = lv_dropdown_get_selected(guider_ui.screen_stepinf_s3);
|
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_clear_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_clear_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); |
|
|
|