(svn r18274) -Codechange: remove the unused WDF flags
This commit is contained in:
@@ -74,7 +74,7 @@ static const NWidgetPart _nested_land_info_widgets[] = {
|
||||
static const WindowDesc _land_info_desc(
|
||||
WDP_AUTO, WDP_AUTO, 0, 0,
|
||||
WC_LAND_INFO, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
|
||||
0,
|
||||
_nested_land_info_widgets, lengthof(_nested_land_info_widgets)
|
||||
);
|
||||
|
||||
@@ -351,7 +351,7 @@ static const NWidgetPart _nested_about_widgets[] = {
|
||||
static const WindowDesc _about_desc(
|
||||
WDP_CENTER, WDP_CENTER, 0, 0,
|
||||
WC_GAME_OPTIONS, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
|
||||
0,
|
||||
_nested_about_widgets, lengthof(_nested_about_widgets)
|
||||
);
|
||||
|
||||
@@ -510,7 +510,7 @@ static const NWidgetPart _nested_errmsg_widgets[] = {
|
||||
static const WindowDesc _errmsg_desc(
|
||||
0, 0, 240, 46, // x/y position is not used.
|
||||
WC_ERRMSG, WC_NONE,
|
||||
WDF_STD_BTN | WDF_DEF_WIDGET,
|
||||
0,
|
||||
_nested_errmsg_widgets, lengthof(_nested_errmsg_widgets)
|
||||
);
|
||||
|
||||
@@ -530,7 +530,7 @@ static const NWidgetPart _nested_errmsg_face_widgets[] = {
|
||||
static const WindowDesc _errmsg_face_desc(
|
||||
0, 0, 334, 137, // x/y position is not used.
|
||||
WC_ERRMSG, WC_NONE,
|
||||
WDF_STD_BTN | WDF_DEF_WIDGET,
|
||||
0,
|
||||
_nested_errmsg_face_widgets, lengthof(_nested_errmsg_face_widgets)
|
||||
);
|
||||
|
||||
@@ -1443,7 +1443,7 @@ static const NWidgetPart _nested_query_string_widgets[] = {
|
||||
static const WindowDesc _query_string_desc(
|
||||
190, 219, 260, 42,
|
||||
WC_QUERY_STRING, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
|
||||
0,
|
||||
_nested_query_string_widgets, lengthof(_nested_query_string_widgets)
|
||||
);
|
||||
|
||||
@@ -1598,7 +1598,7 @@ static const NWidgetPart _nested_query_widgets[] = {
|
||||
static const WindowDesc _query_desc(
|
||||
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,
|
||||
WDF_UNCLICK_BUTTONS | WDF_MODAL,
|
||||
_nested_query_widgets, lengthof(_nested_query_widgets)
|
||||
);
|
||||
|
||||
@@ -2041,14 +2041,14 @@ public:
|
||||
static const WindowDesc _load_dialog_desc(
|
||||
WDP_CENTER, WDP_CENTER, 257, 294,
|
||||
WC_SAVELOAD, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_load_dialog_widgets, lengthof(_nested_load_dialog_widgets)
|
||||
);
|
||||
|
||||
static const WindowDesc _save_dialog_desc(
|
||||
WDP_CENTER, WDP_CENTER, 257, 320,
|
||||
WC_SAVELOAD, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_save_dialog_widgets, lengthof(_nested_save_dialog_widgets)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user