diff options
author | truelight <truelight@openttd.org> | 2005-01-03 19:45:18 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-03 19:45:18 +0000 |
commit | a94fe04a9a96fa1c78314b5306435bd4b0a7bb94 (patch) | |
tree | 42006884ef02083c7d1eca0643a2a2646ffb4fda /engine_gui.c | |
parent | 5b6be8858700950c8d16e0698259b3d32f7c0ce8 (diff) | |
download | openttd-a94fe04a9a96fa1c78314b5306435bd4b0a7bb94.tar.xz |
(svn r1348) -Feature: resizable windows. Read the comment in window.h to find out
how the system works. All useful windows are already made resizable. Enjoy :)
-Fix: fixed some GUI-glitches and flaws along the way
Diffstat (limited to 'engine_gui.c')
-rw-r--r-- | engine_gui.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine_gui.c b/engine_gui.c index f3c6f3291..e5aa8a7eb 100644 --- a/engine_gui.c +++ b/engine_gui.c @@ -36,11 +36,11 @@ StringID GetEngineCategoryName(byte engine) } static const Widget _engine_preview_widgets[] = { -{ WWT_TEXTBTN, 5, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, -{ WWT_CAPTION, 5, 11, 299, 0, 13, STR_8100_MESSAGE_FROM_VEHICLE_MANUFACTURE, STR_018C_WINDOW_TITLE_DRAG_THIS}, -{ WWT_IMGBTN, 5, 0, 299, 14, 191, 0x0, STR_NULL}, -{ WWT_PUSHTXTBTN, 5, 85, 144, 172, 183, STR_00C9_NO, STR_NULL}, -{ WWT_PUSHTXTBTN, 5, 155, 214, 172, 183, STR_00C8_YES, STR_NULL}, +{ WWT_TEXTBTN, RESIZE_NONE, 5, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, +{ WWT_CAPTION, RESIZE_NONE, 5, 11, 299, 0, 13, STR_8100_MESSAGE_FROM_VEHICLE_MANUFACTURE, STR_018C_WINDOW_TITLE_DRAG_THIS}, +{ WWT_IMGBTN, RESIZE_NONE, 5, 0, 299, 14, 191, 0x0, STR_NULL}, +{ WWT_PUSHTXTBTN, RESIZE_NONE, 5, 85, 144, 172, 183, STR_00C9_NO, STR_NULL}, +{ WWT_PUSHTXTBTN, RESIZE_NONE, 5, 155, 214, 172, 183, STR_00C8_YES, STR_NULL}, { WIDGETS_END}, }; |