Callbacks for notifying others about incoming data.
char name[48]
The current name of the downloaded file.
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.
~BaseNetworkContentDownloadStatusWindow()
Free everything associated with this window.
void OnDownloadProgress(const ContentInfo *ci, int bytes) override
We have progress in the download of a file.
uint downloaded_bytes
Number of bytes downloaded.
BaseNetworkContentDownloadStatusWindow(WindowDesc *desc)
Create the window with the given description.