调整启动逻辑顺序
This commit is contained in:
1 parent
5d5b79ed18
commit
f904545097
7 files changed
+81
-73
No files matched your search
@@ -348,7 +348,7 @@ static void screen_stepinf_s1_event_handler (lv_event_t *e)
|
||||
switch (code) {
|
||||
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_add_flag(guider_ui.screen_stepinf_s2b, 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) {
|
||||
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_clear_flag(guider_ui.screen_stepinf_s2b, 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) {
|
||||
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_s2b, LV_OBJ_FLAG_HIDDEN);
|
||||
lv_obj_clear_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN);
|
||||
|
||||
Reference in new issue
Block a user