Commit Graph

328 Commits

Author SHA1 Message Date
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium 3ca0937c1c (svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed. 2010-01-10 13:12:34 +00:00
rubidium f348afb5aa (svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp 2010-01-05 16:59:57 +00:00
rubidium 454e124912 (svn r18652) -Fix: glitches due to having the wrong bounding boxes for the face widgets 2009-12-28 13:04:18 +00:00
smatz 9cefcdab82 (svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8 2009-12-25 23:22:41 +00:00
alberth 3323d64f28 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 2009-12-22 20:43:25 +00:00
alberth 5a083f183e (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
alberth 7fc7324ef8 (svn r18538) -Codechange: Split DrawStationCoverageText into a calculation part and a drawing part. 2009-12-19 15:52:50 +00:00
rubidium 1f0da3710f (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 2009-11-28 15:01:49 +00:00
rubidium 9bb4ad4ba8 (svn r18323) -Fix [FS#3330]: credits were drawn on the border of the window 2009-11-28 15:00:45 +00:00
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium 458c73aecb (svn r18318) -Codechange: add an enum value for manual window placement 2009-11-28 13:54:28 +00:00
rubidium ff32ea24fc (svn r18311) -Codechange: no need to hardcode locations of some 'random' windows 2009-11-28 13:38:34 +00:00
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium 14300d309c (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 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
rubidium e8141ba9d5 (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 da25f121ac (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 b6f627a968 (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 5f2ddfbc5a (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 5fdff78c42 (svn r18135) -Codechange: File list text overflowed its container. 2009-11-17 10:04:21 +00:00
rubidium 626de6b128 (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
alberth 0666a70583 (svn r18111) -Change: One more developer added to the history of OpenTTD. 2009-11-15 21:07:39 +00:00
peter1138 4c6f55fc71 (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 cddc057a60 (svn r18099) -Codechange: scale the edit boxes to the fontsize 2009-11-15 15:37:37 +00:00
rubidium aeb9f8e715 (svn r18092) -Codechange: remove support for the unnested widgets 2009-11-15 13:36:30 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
alberth 0bc03c25f4 (svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view. 2009-11-07 17:24:04 +00:00
frosch 79627b4f89 (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 e6a164de09 (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 076d6e696b (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 7a0814c6cc (svn r17965) -Codechange: query string window uses pure nested widgets. 2009-11-03 20:04:05 +00:00
alberth cb7c9b09ff (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 df8c655ee6 (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 2211e3faad (svn r17935) -Fix (r17933): Compensate for being inside a class. 2009-11-01 17:45:24 +00:00
alberth f3d53d3c28 (svn r17933) -Codechange: Move position calculation of error message window into the class. 2009-11-01 17:38:14 +00:00
alberth d213ffe3ca (svn r17932) -Fix: Don't let the tooltip go under the status bar. 2009-11-01 17:20:28 +00:00
alberth 898f20ce56 (svn r17931) -Codechange: Error message window uses pure nested widgets. 2009-11-01 14:28:53 +00:00
alberth 44aacfc59f (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 4ce1f5f0a0 (svn r17927) -Codechange: Rename error message string variables. 2009-10-31 18:22:39 +00:00
alberth bd8d70e012 (svn r17924) -Codechange: Replace y array with two area rectangles in the error message window. 2009-10-31 15:47:22 +00:00
alberth 617e7966f9 (svn r17921) -Documentation: Add doxygen comments in the ErrmsgWindow struct. 2009-10-31 14:33:07 +00:00
alberth 70ebe13ee8 (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 43abc7b51d (svn r17918) -Codechange: Move tooltip size calculation into the tooltip window class. 2009-10-31 13:29:53 +00:00
alberth 4374647cbe (svn r17917) -Codechange: Move tooltip initial position calculation into the tooltip window class. 2009-10-31 13:14:51 +00:00
alberth ceb57c8314 (svn r17916) -Codechange: Make tooltips window use pure nested widgets. 2009-10-31 13:01:52 +00:00
alberth 52b2d67200 (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 8e7af56d53 (svn r17913) -Documentation: Add doxygen comments to the tooltip window class. 2009-10-31 11:13:31 +00:00