NEW: [STUDIO-1868] show model files in printer's sdcard

Change-Id: I48a3e9d4b0422ddae17fc1eeeb671d1051cd7c6f
This commit is contained in:
chunmao.guo 2023-04-27 09:09:45 +08:00 committed by Lane.Wei
parent 904b122878
commit 14836c5f4a
7 changed files with 338 additions and 143 deletions

View file

@ -36,6 +36,8 @@ public:
void SetMachineObject(MachineObject * obj);
void SwitchStorage(bool external);
public:
void Rescale();
@ -46,6 +48,8 @@ private:
void fetchUrl(boost::weak_ptr<PrinterFileSystem> fs);
void doAction(size_t index, int action);
private:
ScalableBitmap m_bmp_loading;
ScalableBitmap m_bmp_failed;
@ -59,13 +63,18 @@ private:
::StaticBox * m_type_panel = nullptr;
::Button * m_button_video = nullptr;
::Button * m_button_timelapse = nullptr;
::Button * m_button_timelapse = nullptr;
::Button * m_button_model = nullptr;
::StaticBox *m_manage_panel = nullptr;
::Button * m_button_delete = nullptr;
::Button *m_button_download = nullptr;
::Button *m_button_management = nullptr;
ImageGrid * m_image_grid = nullptr;
bool m_external = true;
std::string m_machine;
std::string m_lan_ip;
std::string m_lan_user;
@ -74,8 +83,6 @@ private:
bool m_lan_mode = false;
bool m_tutk_support = false;
ImageGrid * m_image_grid = nullptr;
int m_last_mode = 0;
int m_last_type = 0;
};