summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
AgeCommit message (Collapse)Author
2011-07-03(svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was ↵frosch
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.
2011-05-06(svn r22429) -Add: some constants for specific palette colours used in the GUI.frosch
2011-05-04(svn r22421) -Fix: Replace various references to Windows palette greyscale ↵frosch
indices with the DOS palette indices.
2011-05-01(svn r22405) -Document: some more "random-ish" tidbitsrubidium
2011-04-17(svn r22346) -Cleanup: Textbuf::max_pixels is not required anymore.terkhen
2011-04-17(svn r22345) -Change: Remove pixel limiter for text buffers.terkhen
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-03-13(svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' ↵frosch
already in command scope.
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-23(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, ↵frosch
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.
2011-02-23(svn r22134) -Codechange: Move ReInit() of the landinfo window from ↵frosch
DeleteNewGRFInspectWindow() into a InvalidateData call.
2011-02-23(svn r22133) -Fix: some coding style.frosch
2011-02-14(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few ↵planetmaker
existing comments
2011-02-10(svn r22053) -Fix: The land area information window was not updated after a ↵terkhen
language change.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-15(svn r21803) -Cleanup: Remove unnecessary semicolons.terkhen
2011-01-04(svn r21711) -Change: Display the minimal height of the tile in the LandInfo ↵frosch
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.
2010-12-21(svn r21589) -Codechange: Move PlaceLandBlockInfo() to the right file, ↵alberth
introduce a ShowLandInfo() function.
2010-12-21(svn r21555) -Fix [FS#4321]: strings for the query window weren't properly ↵rubidium
terminated to N characters anymore
2010-12-12(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window ↵rubidium
got closed
2010-12-11(svn r21472) -Fix [FS#4298] (r21459-ish): make sure the query window is only ↵rubidium
opened once per parent window / callback.
2010-12-05(svn r21407) -Codechange: prepare the text buffer code for limiting on ↵rubidium
number of characters besides the number of bytes
2010-12-05(svn r21406) -Codechange: rename some textbuf related names to make them a ↵rubidium
bit more descriptive
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-19(svn r21255) -Fix (r179): main menu error messages wouldn't show when you ↵rubidium
had an error message open in the game while whatever triggered you to go back to the main menu
2010-10-16(svn r20940) -Fix (r20928): switch to the normal alphabet where 'b' comes ↵yexo
before 'p'
2010-10-15(svn r20928) -Update: we have a new developeryexo
2010-09-01(svn r20716) -Feature: add airport class and airport name to the land info toolyexo
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-22(svn r20596) -Fix [FS#4066]: crash when the tooltip is wider than the window isrubidium
2010-08-19(svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the ↵terkhen
window.
2010-08-16(svn r20514) -Fix: Draw error messages in white by default, they may not ↵frosch
have a colour code.
2010-08-01(svn r20289) -Codechange: Unify fall through coding style.terkhen
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-07-25(svn r20220) -Fix [FS#3974]: strip non-printable characters before showing ↵rubidium
it in an edit box, so when renaming a vehicle type you won't get the "SETX stuff" that some NewGRFs use
2010-07-15(svn r20159) -Change: clarify use of OpenTTD directories and don't use the ↵rubidium
"TTD" abbreviation for Transport Tycoon Deluxe (parts by planetmaker)
2010-07-11(svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse.terkhen
2010-07-02(svn r20043) -Codechange: Introduce vertical alignment for ↵alberth
DrawStringMultiLine().
2010-06-03(svn r19917) -Codechange: Split save/load GUI to separate file.frosch
2010-05-30(svn r19904) -Codechange: Make EventState usable outside Window context.alberth
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-04-24(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled ↵rubidium
callbacks and values of variables
2010-03-16(svn r19434) -Add: Add rail speed limit to land area information window.peter1138
2010-03-16(svn r19432) -Fix [FS#3696] (r19357): crash when the error message 'owned by ↵yexo
<town>' was shown
2010-03-06(svn r19358) -Fix [FS#3663]: Close error messages about missing ownership ↵frosch
when the company closes or is taken over. (parts by Alberth).
2010-03-06(svn r19357) -Codechange: Add 'face' member to ErrmsgWindow to simplify stuff.frosch
2010-02-24(svn r19225) -Feature: show warnings and errors in console as well, not only ↵smatz
in a message box