Răsfoiți Sursa

删除多余修改

xuxinyi 4 luni în urmă
părinte
comite
9443c154b6
3 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  1. 0 1
      main/application.cc
  2. 0 2
      main/display/display.h
  3. 0 1
      main/display/lcd_display.cc

+ 0 - 1
main/application.cc

@@ -569,7 +569,6 @@ void Application::OnClockTimer() {
                     strftime(time_str, sizeof(time_str), "%H:%M  ", localtime(&now));
                     const char* TestShow = "邗江区民政服务小助手";
                     Board::GetInstance().GetDisplay()->SetStatus(TestShow);
-                    Board::GetInstance().GetDisplay()->SetEmotion("sad");
                 });
             }
         }

+ 0 - 2
main/display/display.h

@@ -39,8 +39,6 @@ protected:
     lv_display_t *display_ = nullptr;
 
     lv_obj_t *emotion_label_ = nullptr;
-    lv_obj_t *emotion_label_1 = nullptr;
-    lv_obj_t *emotion_label_2 = nullptr;
     lv_obj_t *network_label_ = nullptr;
     lv_obj_t *status_label_ = nullptr;
     lv_obj_t *notification_label_ = nullptr;

+ 0 - 1
main/display/lcd_display.cc

@@ -353,7 +353,6 @@ void LcdDisplay::Unlock() {
 #if CONFIG_USE_WECHAT_MESSAGE_STYLE
 void LcdDisplay::SetupUI() {
     DisplayLockGuard lock(this);
-    printf("SetupUI1\n");
     auto screen = lv_screen_active();
     lv_obj_set_style_text_font(screen, fonts_.text_font, 0);
     lv_obj_set_style_text_color(screen, current_theme.text, 0);