diff options
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 7b32704b5..ce8e3df16 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -72,7 +72,7 @@ static const NWidgetPart _nested_land_info_widgets[] = { }; static const WindowDesc _land_info_desc( - WDP_AUTO, WDP_AUTO, 0, 0, 0, 0, + WDP_AUTO, WDP_AUTO, 0, 0, WC_LAND_INFO, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, _nested_land_info_widgets, lengthof(_nested_land_info_widgets) @@ -346,7 +346,7 @@ static const NWidgetPart _nested_about_widgets[] = { }; static const WindowDesc _about_desc( - WDP_CENTER, WDP_CENTER, 0, 0, 0, 0, + WDP_CENTER, WDP_CENTER, 0, 0, WC_GAME_OPTIONS, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, _nested_about_widgets, lengthof(_nested_about_widgets) @@ -507,7 +507,7 @@ static const NWidgetPart _nested_errmsg_widgets[] = { }; static const WindowDesc _errmsg_desc( - 0, 0, 240, 46, 240, 46, // x/y position is not used. + 0, 0, 240, 46, // x/y position is not used. WC_ERRMSG, WC_NONE, WDF_STD_BTN | WDF_DEF_WIDGET, _nested_errmsg_widgets, lengthof(_nested_errmsg_widgets) @@ -527,7 +527,7 @@ static const NWidgetPart _nested_errmsg_face_widgets[] = { }; static const WindowDesc _errmsg_face_desc( - 0, 0, 334, 137, 334, 137, // x/y position is not used. + 0, 0, 334, 137, // x/y position is not used. WC_ERRMSG, WC_NONE, WDF_STD_BTN | WDF_DEF_WIDGET, _nested_errmsg_face_widgets, lengthof(_nested_errmsg_face_widgets) @@ -774,7 +774,7 @@ static const NWidgetPart _nested_tooltips_widgets[] = { }; static const WindowDesc _tool_tips_desc( - 100, 100, 0, 0, 0, 0, // Coordinates and sizes are not used, + 100, 100, 0, 0, // Coordinates and sizes are not used, WC_TOOLTIPS, WC_NONE, 0, _nested_tooltips_widgets, lengthof(_nested_tooltips_widgets) @@ -1440,7 +1440,7 @@ static const NWidgetPart _nested_query_string_widgets[] = { }; static const WindowDesc _query_string_desc( - 190, 219, 260, 42, 260, 42, + 190, 219, 260, 42, WC_QUERY_STRING, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, _nested_query_string_widgets, lengthof(_nested_query_string_widgets) @@ -1595,7 +1595,7 @@ static const NWidgetPart _nested_query_widgets[] = { }; static const WindowDesc _query_desc( - WDP_CENTER, WDP_CENTER, 210, 82, 210, 82, + WDP_CENTER, WDP_CENTER, 210, 82, WC_CONFIRM_POPUP_QUERY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_DEF_WIDGET | WDF_MODAL, _nested_query_widgets, lengthof(_nested_query_widgets) @@ -2038,14 +2038,14 @@ public: }; static const WindowDesc _load_dialog_desc( - WDP_CENTER, WDP_CENTER, 257, 154, 257, 294, + WDP_CENTER, WDP_CENTER, 257, 294, WC_SAVELOAD, WC_NONE, WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE, _nested_load_dialog_widgets, lengthof(_nested_load_dialog_widgets) ); static const WindowDesc _save_dialog_desc( - WDP_CENTER, WDP_CENTER, 257, 180, 257, 320, + WDP_CENTER, WDP_CENTER, 257, 320, WC_SAVELOAD, WC_NONE, WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE, _nested_save_dialog_widgets, lengthof(_nested_save_dialog_widgets) |