Commit Graph

314 Commits

Author SHA1 Message Date
rubidium
50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 2009-11-24 18:05:55 +00:00
rubidium
f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
alberth
5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth
18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
rubidium
092ed60342 (svn r18208) -Fix [FS#3321]: in some cases the size of the land information window wasn't properly calculated 2009-11-21 17:22:37 +00:00
rubidium
bea622be02 (svn r18195) -Codechange: move the child padding calculation/handling to WWT_FRAME
-Fix (r18168): crash when switching languages when a non-standard font height is used
2009-11-19 22:49:04 +00:00
rubidium
8bc7f13999 (svn r18171) -Change: always align the about to the left; it is not translated and as such it's never a RTL text. 2009-11-18 20:27:18 +00:00
rubidium
8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
peter1138
d6b3756d63 (svn r18135) -Codechange: File list text overflowed its container. 2009-11-17 10:04:21 +00:00
rubidium
a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
alberth
c025be2807 (svn r18111) -Change: One more developer added to the history of OpenTTD. 2009-11-15 21:07:39 +00:00
peter1138
b303690103 (svn r18104) -Codechange: Let the query popup window's text entry field expand if necessary (e.g. with long window title). 2009-11-15 18:44:33 +00:00
rubidium
bb5a43e609 (svn r18099) -Codechange: scale the edit boxes to the fontsize 2009-11-15 15:37:37 +00:00
rubidium
1f6f15a126 (svn r18092) -Codechange: remove support for the unnested widgets 2009-11-15 13:36:30 +00:00
rubidium
b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
alberth
c7ca4691c4 (svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view. 2009-11-07 17:24:04 +00:00
frosch
3cb949a17d (svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h 2009-11-05 19:46:17 +00:00
alberth
171fa9d16b (svn r17967) -Codechange: Specify that the buttons of the query string window should be equal in size. 2009-11-03 20:25:19 +00:00
alberth
95990e6d10 (svn r17966) -Fix (r17965): The Default button should be disabled in some cases rather than the Ok button. 2009-11-03 20:21:49 +00:00
alberth
cc0906a49c (svn r17965) -Codechange: query string window uses pure nested widgets. 2009-11-03 20:04:05 +00:00
alberth
e22b5ed872 (svn r17945) -Fix (r17940): Absence of main toolbar and/or status bar should not be fatal. 2009-11-02 05:12:58 +00:00
alberth
06f7a2fc76 (svn r17940) -Codechange: Use real y position of the main toolbar and status bar instead of hardcoded sizes for tooltip and for error message windows. 2009-11-01 19:19:14 +00:00
alberth
869370dd2a (svn r17935) -Fix (r17933): Compensate for being inside a class. 2009-11-01 17:45:24 +00:00
alberth
b4f8ea259a (svn r17933) -Codechange: Move position calculation of error message window into the class. 2009-11-01 17:38:14 +00:00
alberth
74a9be4f59 (svn r17932) -Fix: Don't let the tooltip go under the status bar. 2009-11-01 17:20:28 +00:00
alberth
57cdbcb418 (svn r17931) -Codechange: Error message window uses pure nested widgets. 2009-11-01 14:28:53 +00:00
alberth
5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
alberth
173c6ae977 (svn r17927) -Codechange: Rename error message string variables. 2009-10-31 18:22:39 +00:00
alberth
ae3c6b0935 (svn r17924) -Codechange: Replace y array with two area rectangles in the error message window. 2009-10-31 15:47:22 +00:00
alberth
9059383676 (svn r17921) -Documentation: Add doxygen comments in the ErrmsgWindow struct. 2009-10-31 14:33:07 +00:00
alberth
8e6f96e322 (svn r17919) -Codechange (r17849): Remove the outermost NWID_LAYERED and NWID_VERTICAL containers from the load and save nested widget parts, since they do nothing. 2009-10-31 13:43:34 +00:00
alberth
9deb0eb32b (svn r17918) -Codechange: Move tooltip size calculation into the tooltip window class. 2009-10-31 13:29:53 +00:00
alberth
e6c50f7e7d (svn r17917) -Codechange: Move tooltip initial position calculation into the tooltip window class. 2009-10-31 13:14:51 +00:00
alberth
141be7b048 (svn r17916) -Codechange: Make tooltips window use pure nested widgets. 2009-10-31 13:01:52 +00:00
alberth
256adf9c8a (svn r17914) -Codechange: Use some constants in the size calculation, and pass the size as a combined value to the tooltip window. 2009-10-31 11:29:53 +00:00
alberth
d57223144d (svn r17913) -Documentation: Add doxygen comments to the tooltip window class. 2009-10-31 11:13:31 +00:00
rubidium
c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 2009-10-24 14:53:55 +00:00
rubidium
343586484b (svn r17849) -Codechange: make the saveload windows nested 2009-10-23 21:10:36 +00:00
rubidium
b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 2009-10-17 14:29:10 +00:00
rubidium
abbfdb1396 (svn r17771) -Codechange: use the 'StringID' function instead of the 'const char *' function + custom code to resolve the 'const char *' from the 'StringID' 2009-10-13 19:24:58 +00:00
michi_cc
d6da4f24ad (svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X. 2009-10-04 21:08:38 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium
da2fe3293c (svn r17681) -Fix [FS#3248] (r17668): crash when the caption of the query window used parameters 2009-10-02 15:06:14 +00:00
rubidium
0855ae61de (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. 2009-09-30 21:07:54 +00:00
yexo
fb773a2016 (svn r17668) -Codechange: Query window uses nested widgets 2009-09-30 15:14:34 +00:00
rubidium
6c74ca895a (svn r17620) -Fix (r17502): edit box offsets were off. Now they're still off, but look (in my opinion) even better than before 2009-09-23 15:42:29 +00:00
smatz
f85b8c4e09 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +00:00
alberth
d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
smatz
9f4f7a2892 (svn r17561) -Fix: diacritics was missing at few places 2009-09-17 18:56:31 +00:00
frosch
0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00