summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
AgeCommit message (Collapse)Author
2020-05-06Codechange: Use a dynamic copyright yearglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-28Add: MeCharles Pigott
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-25Fix dcb2571: Missing override keywordsNiels Martin Hansen
2019-04-24Fix: Also breaking for warning text in set company passwordNiels Martin Hansen
2019-04-24Fix: Automatic line breaking of the warningNiels Martin Hansen
2019-04-24Add: Warn players that company passwords are not truly secureNiels Martin Hansen
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-03-20Fix #7386: Measurement tooltip for tunnels, aqueducts & docks did not ↵peter1138
display or flickered. Measurement tooltip was auto-closed as the hover/right-click test for tooltips was not satisfied in this case. This is fixed by keeping the tooltip visible and instead explicitly closing the tooltip when the PlaceObject is cancelled/completed.
2019-01-11Change: Use GUITimer class instead of bare int/uints.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-11-17Update: Developer creditsNiels Martin Hansen
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-10-30Fix: Missing m8 data in console when using Query toolNiels Martin Hansen
When map array 8 was added, the Query tool wasn't updated to also print the value there to the console, in debug builds.
2018-10-13Fix #6938: Don't change company value to perform cost estimations (#6939)Miguel Horta
These meddling kids dared to play with magic, but the ancients texts weren't ready for that. Refactors logic to estimate costs that dated to even before OpenTTD 0.1;
2018-06-07Codechange: Avoid call to memcpy using null pointer in TooltipsWindow ↵Jonathan G Rennison
constructor Strictly speaking, calling memcpy with src as a nullptr is undefined behaviour and the optimiser is entitled to delete any null ptr checks which occur afterwards. This removes the warning emitted by UndefinedBehaviorSantizer.
2018-06-03Fix: Theoretical string overflow when building the cargo acceptance list for ↵Michael Lutz
the land info window.
2018-03-11(svn r27979) -Add: adf88 to readmefrosch
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2016-12-09(svn r27686) -Change: List railtype of rail tiles explicitly in the tile ↵frosch
info window.
2016-08-15(svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple ↵frosch
sprites.
2016-05-11(svn r27560) -Fix: typos in comments and stringmatthijs
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2015-02-01(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.frosch
2014-10-23(svn r27037) -Fix [FS#6150] (r26878): m6 was moved from Tile To ↵rubidium
TileExtended, but it wasn't properly removed from Tile (patch by Juanjo)
2014-10-18(svn r27023) -Codechange: Scale tooltip size by UI scale.peter1138
2014-09-26(svn r26924) -Codechange: Fit YES/NO query window buttons to window, instead ↵peter1138
of unaligned.
2014-09-21(svn r26873) -Change: split type_height into a type and height array (ic111)rubidium
2014-07-30(svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails ↵planetmaker
with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2)
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-26(svn r26277) -Add [FS#5849]: Display speed limit also for road bridges in ↵frosch
the TileInfo window.
2013-08-05(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition ↵michi_cc
string.
2013-08-05(svn r25690) -Change: [OSX] Position the candidate window at the caret position.michi_cc
2013-08-05(svn r25683) -Add: Support for a marked/selected range to the textbuf.michi_cc
2013-08-05(svn r25681) -Change: [Win32] Position the IME composition window at the ↵michi_cc
caret position.
2013-08-05(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵michi_cc
just UCS-2 to the window key press handlers.
2013-06-09(svn r25375) -Update: add fonsinchen to creditsfonsinchen
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-03-17(svn r25092) -Codechange: Deduplicate keyboard handling between console and ↵frosch
editboxes.
2013-03-17(svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf.frosch
2013-02-17(svn r25011) -Codechange: allow vehicle transfer and profit text effects to ↵rubidium
be shown at the same time (fonsinchen)
2013-02-02(svn r24960) -Fix [FS#5423]: inconsistencies in the "thanks to" listsrubidium
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-05(svn r24785) -Add: Various methods to open the OSK. (based on patch by ↵frosch
Eagle_rainbow)