mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 09:32:09 +00:00
ENH: optimize media file user interface
Change-Id: Ic16133fd366fcbf41dd0c9535907786754186857
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user