diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 13:54:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 13:54:28 +0000 |
commit | 458c73aecb74269a68ce0a8d5a90001fa3b4988e (patch) | |
tree | d3b8791d43ad9a8bfd08aedf49253911455febaa /src/misc_gui.cpp | |
parent | a427ab751d7905a26bd86d9571412d9bebe0aa03 (diff) | |
download | openttd-458c73aecb74269a68ce0a8d5a90001fa3b4988e.tar.xz |
(svn r18318) -Codechange: add an enum value for manual window placement
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 9c9b52d02..0ebfa56db 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -497,7 +497,7 @@ static const NWidgetPart _nested_errmsg_widgets[] = { }; static const WindowDesc _errmsg_desc( - 0, 0, 240, 46, // x/y position is not used. + WDP_MANUAL, WDP_MANUAL, 240, 46, WC_ERRMSG, WC_NONE, 0, _nested_errmsg_widgets, lengthof(_nested_errmsg_widgets) @@ -517,7 +517,7 @@ static const NWidgetPart _nested_errmsg_face_widgets[] = { }; static const WindowDesc _errmsg_face_desc( - 0, 0, 334, 137, // x/y position is not used. + WDP_MANUAL, WDP_MANUAL, 334, 137, WC_ERRMSG, WC_NONE, 0, _nested_errmsg_face_widgets, lengthof(_nested_errmsg_face_widgets) @@ -764,7 +764,7 @@ static const NWidgetPart _nested_tooltips_widgets[] = { }; static const WindowDesc _tool_tips_desc( - 100, 100, 0, 0, // Coordinates and sizes are not used, + WDP_MANUAL, WDP_MANUAL, 0, 0, // Coordinates and sizes are not used, WC_TOOLTIPS, WC_NONE, 0, _nested_tooltips_widgets, lengthof(_nested_tooltips_widgets) |