(svn r18274) -Codechange: remove the unused WDF flags
This commit is contained in:
@@ -234,7 +234,7 @@ static const NWidgetPart _nested_ai_list_widgets[] = {
|
||||
static const WindowDesc _ai_list_desc(
|
||||
WDP_CENTER, WDP_CENTER, 200, 234,
|
||||
WC_AI_LIST, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_ai_list_widgets, lengthof(_nested_ai_list_widgets)
|
||||
);
|
||||
|
||||
@@ -445,7 +445,7 @@ static const NWidgetPart _nested_ai_settings_widgets[] = {
|
||||
static const WindowDesc _ai_settings_desc(
|
||||
WDP_CENTER, WDP_CENTER, 500, 208,
|
||||
WC_AI_SETTINGS, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_ai_settings_widgets, lengthof(_nested_ai_settings_widgets)
|
||||
);
|
||||
|
||||
@@ -504,7 +504,7 @@ static const NWidgetPart _nested_ai_config_widgets[] = {
|
||||
static const WindowDesc _ai_config_desc(
|
||||
WDP_CENTER, WDP_CENTER, 300, 172,
|
||||
WC_GAME_OPTIONS, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_ai_config_widgets, lengthof(_nested_ai_config_widgets)
|
||||
);
|
||||
|
||||
@@ -974,7 +974,7 @@ static const NWidgetPart _nested_ai_debug_widgets[] = {
|
||||
static const WindowDesc _ai_debug_desc(
|
||||
WDP_AUTO, WDP_AUTO, 299, 241,
|
||||
WC_AI_DEBUG, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
0,
|
||||
_nested_ai_debug_widgets, lengthof(_nested_ai_debug_widgets)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user