diff options
author | rubidium <rubidium@openttd.org> | 2009-11-17 19:16:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-17 19:16:48 +0000 |
commit | 5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 (patch) | |
tree | 555dcdb99e5bae8aea6350713c53469486f925c7 /src/window_gui.h | |
parent | 063e8adcecff0818dfb64f7640b11a1b7b982d08 (diff) | |
download | openttd-5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2.tar.xz |
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index d9c6c5dce..2ff13c5da 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -126,7 +126,7 @@ extern Window *_focused_window; */ struct WindowDesc : ZeroedMemoryAllocator { - WindowDesc(int16 left, int16 top, int16 min_width, int16 min_height, int16 def_width, int16 def_height, + WindowDesc(int16 left, int16 top, int16 def_width, int16 def_height, WindowClass window_class, WindowClass parent_class, uint32 flags, const NWidgetPart *nwid_parts = NULL, int16 nwid_length = 0); @@ -134,8 +134,6 @@ struct WindowDesc : ZeroedMemoryAllocator { int16 left; ///< Prefered x position of left edge of the window. @see WindowDefaultPosition() int16 top; ///< Prefered y position of the top of the window. @see WindowDefaultPosition() - int16 minimum_width; ///< Minimal width of the window. - int16 minimum_height; ///< Minimal height of the window. int16 default_width; ///< Prefered initial width of the window. int16 default_height; ///< Prefered initial height of the window. WindowClass cls; ///< Class of the window, @see WindowClass. |