Mercurial > hg > openttd
comparison src/main_gui.cpp @ 13792:a998faa00d15 draft
(svn r18318) -Codechange: add an enum value for manual window placement
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 28 Nov 2009 13:54:28 +0000 |
parents | 2123810ad874 |
children | 3e68f07eb821 |
comparison
equal
deleted
inserted
replaced
13791:51b5d64f876b | 13792:a998faa00d15 |
---|---|
198 static const struct NWidgetPart _nested_main_window_widgets[] = { | 198 static const struct NWidgetPart _nested_main_window_widgets[] = { |
199 NWidget(NWID_VIEWPORT, INVALID_COLOUR, MW_VIEWPORT), SetResize(1, 1), | 199 NWidget(NWID_VIEWPORT, INVALID_COLOUR, MW_VIEWPORT), SetResize(1, 1), |
200 }; | 200 }; |
201 | 201 |
202 static const WindowDesc _main_window_desc( | 202 static const WindowDesc _main_window_desc( |
203 0, 0, 0, 0, | 203 WDP_MANUAL, WDP_MANUAL, 0, 0, |
204 WC_MAIN_WINDOW, WC_NONE, | 204 WC_MAIN_WINDOW, WC_NONE, |
205 0, | 205 0, |
206 _nested_main_window_widgets, lengthof(_nested_main_window_widgets) | 206 _nested_main_window_widgets, lengthof(_nested_main_window_widgets) |
207 ); | 207 ); |
208 | 208 |