Update to 2.0.1
This commit is contained in:
@@ -31,6 +31,7 @@ protected:
|
||||
lv_obj_t* emoji_box_ = nullptr;
|
||||
lv_obj_t* chat_message_label_ = nullptr;
|
||||
esp_timer_handle_t preview_timer_ = nullptr;
|
||||
std::unique_ptr<LvglImage> preview_image_cached_ = nullptr;
|
||||
|
||||
void InitializeLcdThemes();
|
||||
void SetupUI();
|
||||
@@ -44,14 +45,11 @@ protected:
|
||||
public:
|
||||
~LcdDisplay();
|
||||
virtual void SetEmotion(const char* emotion) override;
|
||||
virtual void SetPreviewImage(const lv_img_dsc_t* img_dsc) override;
|
||||
virtual void SetChatMessage(const char* role, const char* content) override;
|
||||
virtual void SetPreviewImage(std::unique_ptr<LvglImage> image) override;
|
||||
|
||||
// Add theme switching function
|
||||
virtual void SetTheme(Theme* theme) override;
|
||||
|
||||
// Add set music info function
|
||||
virtual void SetMusicInfo(const char* song_name) override;
|
||||
};
|
||||
|
||||
// SPI LCD显示器
|
||||
|
||||
Reference in New Issue
Block a user