Base window for showing the download status of content.
uint32_t cur_id
The current ID of the downloaded file.
void OnDownloadProgress(const ContentInfo *ci, int bytes) override
We have progress in the download of a file.
uint downloaded_bytes
Number of bytes downloaded.
uint total_files
Number of files to download.
void DrawWidget(const Rect &r, WidgetID widget) const override
Draw the contents of a nested widget.
void Close(int data=0) override
Hide the window and all its child windows, and mark them for a later deletion.
std::string name
The current name of the downloaded file.
void UpdateWidgetSize(WidgetID widget, Dimension &size, const Dimension &padding, Dimension &fill, Dimension &resize) override
Update size and resize step of a widget in the window.
uint downloaded_files
Number of files downloaded.
uint total_bytes
Number of bytes to download.
Part of the network protocol handling content distribution.
void BuildContentTypeStringList()
Build array of all strings corresponding to the content types.
Callbacks for notifying others about incoming data.
Container for all important information about a piece of content.