Callbacks for notifying others about incoming data.
void DrawWidget(const Rect &r, int widget) const override
Draw the contents of a nested widget.
uint32 cur_id
The current ID of the downloaded file.
Base window for showing the download status of content.
uint downloaded_files
Number of files downloaded.
void BuildContentTypeStringList()
Build array of all strings corresponding to the content types.
uint total_files
Number of files to download.
uint total_bytes
Number of bytes to download.
Container for all important information about a piece of content.
void OnDownloadProgress(const ContentInfo *ci, int bytes) override
We have progress in the download of a file.
std::string name
The current name of the downloaded file.
uint downloaded_bytes
Number of bytes downloaded.
BaseNetworkContentDownloadStatusWindow(WindowDesc *desc)
Create the window with the given description.
void Close() override
Hide the window and all its child windows, and mark them for a later deletion.