|
@@ -47,13 +47,13 @@ static const NWidgetPart _nested_network
|
|
|
|
|
|
/** Window description for the download window */
|
|
|
static const WindowDesc _network_content_download_status_window_desc(
|
|
|
WDP_CENTER, WDP_CENTER, 350, 85, 350, 85,
|
|
|
WC_NETWORK_STATUS_WINDOW, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_MODAL,
|
|
|
NULL, _nested_network_content_download_status_window_widgets, lengthof(_nested_network_content_download_status_window_widgets)
|
|
|
_nested_network_content_download_status_window_widgets, lengthof(_nested_network_content_download_status_window_widgets)
|
|
|
);
|
|
|
|
|
|
/** Window for showing the download status of content */
|
|
|
struct NetworkContentDownloadStatusWindow : public Window, ContentCallback {
|
|
|
private:
|
|
|
ClientNetworkContentSocketHandler *connection; ///< Our connection with the content server
|
|
@@ -871,13 +871,13 @@ static const NWidgetPart _nested_network
|
|
|
|
|
|
/** Window description of the content list */
|
|
|
static const WindowDesc _network_content_list_desc(
|
|
|
WDP_CENTER, WDP_CENTER, 450, 278, 630, 460,
|
|
|
WC_NETWORK_WINDOW, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
|
|
|
NULL, _nested_network_content_list_widgets, lengthof(_nested_network_content_list_widgets)
|
|
|
_nested_network_content_list_widgets, lengthof(_nested_network_content_list_widgets)
|
|
|
);
|
|
|
|
|
|
/**
|
|
|
* Show the content list window with a given set of content
|
|
|
* @param cv the content to show, or NULL when it has to search for itself
|
|
|
* @param type the type to (only) show
|