|
@@ -25,18 +25,18 @@ static const Widget _network_content_dow
|
|
|
{ WWT_PANEL, RESIZE_NONE, COLOUR_GREY, 0, 349, 14, 84, 0x0, STR_NULL}, // NCDSWW_BACKGROUND
|
|
|
{ WWT_PUSHTXTBTN, RESIZE_NONE, COLOUR_WHITE, 125, 225, 69, 80, STR_012E_CANCEL, STR_NULL}, // NCDSWW_CANCELOK
|
|
|
{ WIDGETS_END},
|
|
|
};
|
|
|
|
|
|
/** Window description for the download window */
|
|
|
static const WindowDesc _network_content_download_status_window_desc = {
|
|
|
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,
|
|
|
_network_content_download_status_window_widget,
|
|
|
};
|
|
|
_network_content_download_status_window_widget
|
|
|
);
|
|
|
|
|
|
/** Window for showing the download status of content */
|
|
|
struct NetworkContentDownloadStatusWindow : public Window, ContentCallback {
|
|
|
/** Widgets used by this window */
|
|
|
enum Widgets {
|
|
|
NCDSWW_CAPTION, ///< Caption of the window
|
|
@@ -757,18 +757,18 @@ static const Widget _network_content_lis
|
|
|
{ WWT_RESIZEBOX, RESIZE_LRTB, COLOUR_LIGHT_BLUE, 438, 449, 266, 277, 0x0, STR_RESIZE_BUTTON }, // NCLWW_RESIZE
|
|
|
|
|
|
{ WIDGETS_END},
|
|
|
};
|
|
|
|
|
|
/** Window description of the content list */
|
|
|
static const WindowDesc _network_content_list_desc = {
|
|
|
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,
|
|
|
_network_content_list_widgets,
|
|
|
};
|
|
|
_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
|
|
|
*/
|