Mercurial > hg > openttd
diff src/textfile_gui.cpp @ 20342:63dba929ba42 draft
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
author | frosch <frosch@openttd.org> |
---|---|
date | Sun, 26 May 2013 19:30:07 +0000 |
parents | 491ddf49f744 |
children | e845688ff873 |
line wrap: on
line diff
--- a/src/textfile_gui.cpp +++ b/src/textfile_gui.cpp @@ -27,6 +27,7 @@ NWidget(NWID_HORIZONTAL), NWidget(WWT_CLOSEBOX, COLOUR_MAUVE), NWidget(WWT_CAPTION, COLOUR_MAUVE, WID_TF_CAPTION), SetDataTip(STR_NULL, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS), + NWidget(WWT_DEFSIZEBOX, COLOUR_MAUVE), EndContainer(), NWidget(NWID_HORIZONTAL), NWidget(WWT_PANEL, COLOUR_MAUVE, WID_TF_BACKGROUND), SetMinimalSize(200, 125), SetResize(1, 12), SetScrollbar(WID_TF_VSCROLLBAR),