Commit Graph

452 Commits (7ae0c6de5a7a4923b3409b5883826797ffba1c5b)

Author SHA1 Message Date
alberth 9b11b7e491 (svn r24293) -Fix: Increase the left and right margins of the text in the yes/no query window. 12 years ago
planetmaker c1b5b9548e (svn r24048) -Cleanup: Sync credits in readme and ingame information 12 years ago
rubidium 838ea6947f (svn r23903) -Fix [FS#4993]: some instances had issues due to a value being out of range 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain c74ccfff1b (svn r23601) -Fix: fix the conflict in window number 13 years ago
rubidium 8e4b6c3055 (svn r23590) -Codechange: make the string validation settings better expandable 13 years ago
truebrain c73649512b (svn r23536) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
truebrain da63ce43fa (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
13 years ago
rubidium 9aab2dc861 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
rubidium b9a1468fde (svn r23471) -Codechange: move the error related code out of misc_gui.cpp into error_gui.cpp 13 years ago
truebrain c641efc387 (svn r23375) -Change: that name I haven't used for several years. Let it die out now finally, please? 13 years ago
yexo 7f7cab9ec5 (svn r23130) -Change [FS#4825]: open the query string window centered as it (almost) always requires your attention 13 years ago
rubidium 1a54b7733c (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
yexo 7196157d2d (svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid) 13 years ago
rubidium efd49756aa (svn r22766) -Add: river graphics for the original base set (andythenorth) 13 years ago
frosch ef5b18ab3b (svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters. 13 years ago
frosch 7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 13 years ago
frosch 7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 13 years ago
rubidium 87272273b5 (svn r22405) -Document: some more "random-ish" tidbits 13 years ago
terkhen edf65f427c (svn r22346) -Cleanup: Textbuf::max_pixels is not required anymore. 13 years ago
terkhen 23f42e5769 (svn r22345) -Change: Remove pixel limiter for text buffers. 13 years ago
terkhen a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 13 years ago
frosch 2a4c4ab528 (svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope. 14 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 14 years ago
frosch 074548f8f3 (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 14 years ago
frosch b7e7dcd01e (svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call. 14 years ago
frosch eeeb70a82e (svn r22133) -Fix: some coding style. 14 years ago
planetmaker 6d031d0867 (svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments 14 years ago
terkhen d9d14be125 (svn r22053) -Fix: The land area information window was not updated after a language change. 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
terkhen b6148914b0 (svn r21803) -Cleanup: Remove unnecessary semicolons. 14 years ago
frosch 679afa362e (svn r21711) -Change: Display the minimal height of the tile in the LandInfo window instead of the height of the northern corner. So it is more useful for NewGRF and AI developers, and maybe more transparent for players. 14 years ago
alberth 03aa5395ac (svn r21589) -Codechange: Move PlaceLandBlockInfo() to the right file, introduce a ShowLandInfo() function. 14 years ago
rubidium ab630cb5e2 (svn r21555) -Fix [FS#4321]: strings for the query window weren't properly terminated to N characters anymore 14 years ago
rubidium 004b2b6001 (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 14 years ago
rubidium 76ce3e4860 (svn r21472) -Fix [FS#4298] (r21459-ish): make sure the query window is only opened once per parent window / callback. 14 years ago
rubidium 5c2674ec77 (svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes 14 years ago
rubidium 28da832781 (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
rubidium 663e5f9a26 (svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu 14 years ago
yexo be493aa533 (svn r20940) -Fix (r20928): switch to the normal alphabet where 'b' comes before 'p' 14 years ago
yexo 470312cf35 (svn r20928) -Update: we have a new developer 14 years ago
yexo d82f1b0bab (svn r20716) -Feature: add airport class and airport name to the land info tool 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium d15d8ecde4 (svn r20596) -Fix [FS#4066]: crash when the tooltip is wider than the window is 14 years ago
terkhen 0d68b98482 (svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window. 14 years ago
frosch 4d4cd5ff65 (svn r20514) -Fix: Draw error messages in white by default, they may not have a colour code. 14 years ago
terkhen 04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
terkhen c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 14 years ago
rubidium f48fca6bfc (svn r20220) -Fix [FS#3974]: strip non-printable characters before showing it in an edit box, so when renaming a vehicle type you won't get the "SETX stuff" that some NewGRFs use 14 years ago
rubidium b673d7cd3a (svn r20159) -Change: clarify use of OpenTTD directories and don't use the "TTD" abbreviation for Transport Tycoon Deluxe (parts by planetmaker) 14 years ago
terkhen 086a424b7a (svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse. 14 years ago
alberth c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 14 years ago
frosch 05774c903b (svn r19917) -Codechange: Split save/load GUI to separate file. 14 years ago
alberth b40fc5bab8 (svn r19904) -Codechange: Make EventState usable outside Window context. 14 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium cb92cdf975 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
peter1138 a7b93cdeb5 (svn r19434) -Add: Add rail speed limit to land area information window. 15 years ago
yexo f30297fdbb (svn r19432) -Fix [FS#3696] (r19357): crash when the error message 'owned by <town>' was shown 15 years ago
frosch 9eca269321 (svn r19358) -Fix [FS#3663]: Close error messages about missing ownership when the company closes or is taken over. (parts by Alberth). 15 years ago
frosch f35c0e145c (svn r19357) -Codechange: Add 'face' member to ErrmsgWindow to simplify stuff. 15 years ago
smatz 4572c0dac4 (svn r19225) -Feature: show warnings and errors in console as well, not only in a message box 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
yexo 86fc08789d (svn r19199) -Codechange: add a 'name'-property to airport tiles 15 years ago
rubidium 0448e07e8b (svn r19007) -Prepare: 1.0.0-beta4 15 years ago
rubidium 6a17a06ac5 (svn r18998) -Update: the credits 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium 257c076045 (svn r18899) -Fix: the default button was enabled even when the ENABLE_DEFAULT flag wasn't set 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 36df94ddb0 (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. 15 years ago
rubidium 988d09b8c1 (svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp 15 years ago
rubidium b13747514c (svn r18652) -Fix: glitches due to having the wrong bounding boxes for the face widgets 15 years ago
smatz 289c130333 (svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8 15 years ago
alberth e967f04123 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
alberth 7ef35286fd (svn r18538) -Codechange: Split DrawStationCoverageText into a calculation part and a drawing part. 15 years ago
rubidium 21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium d2535d70ee (svn r18323) -Fix [FS#3330]: credits were drawn on the border of the window 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium fedb593293 (svn r18318) -Codechange: add an enum value for manual window placement 15 years ago
rubidium 74b737f958 (svn r18311) -Codechange: no need to hardcode locations of some 'random' windows 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
rubidium 092ed60342 (svn r18208) -Fix [FS#3321]: in some cases the size of the land information window wasn't properly calculated 15 years ago
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
15 years ago
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. 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
peter1138 d6b3756d63 (svn r18135) -Codechange: File list text overflowed its container. 15 years ago
rubidium a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 15 years ago
alberth c025be2807 (svn r18111) -Change: One more developer added to the history of OpenTTD. 15 years ago
peter1138 b303690103 (svn r18104) -Codechange: Let the query popup window's text entry field expand if necessary (e.g. with long window title). 15 years ago