mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
ENH: optimize media file user interface
Change-Id: Ic16133fd366fcbf41dd0c9535907786754186857
This commit is contained in:
parent
aa2129280d
commit
37723752cd
8 changed files with 79 additions and 36 deletions
|
@ -95,6 +95,7 @@ public:
|
|||
wxBitmap thumbnail;
|
||||
int flags = 0;
|
||||
int progress = -1; // -1: waiting
|
||||
std::string path;
|
||||
|
||||
bool IsSelect() const { return flags & FF_SELECT; }
|
||||
bool IsDownload() const { return flags & FF_DOWNLOAD; }
|
||||
|
@ -124,6 +125,8 @@ public:
|
|||
|
||||
void DownloadFiles(size_t index, std::string const &path);
|
||||
|
||||
void DownloadCheckFiles(std::string const &path);
|
||||
|
||||
void DownloadCancel(size_t index);
|
||||
|
||||
size_t GetCount() const;
|
||||
|
@ -164,7 +167,7 @@ private:
|
|||
|
||||
void DeleteFilesContinue();
|
||||
|
||||
void DownloadNextFile(std::string const &path);
|
||||
void DownloadNextFile();
|
||||
|
||||
void UpdateFocusThumbnail();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue