summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
AgeCommit message (Collapse)Author
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-10-25(svn r14534) -Codechange [FS#2382]: Enumify magic return values of ↵glx
HandleEditBox function (Zuu)
2008-10-22(svn r14514) -Codechange: use 'size' instead of 'length' for querystring and ↵smatz
textbuf, explicitly say it includes the terminating zero -Fix: one couldn't rename things with too long default/automatic name -Fix: buffer overflow in console when too long (1024 bytes) command was entered
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-29(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy ↵rubidium
doesn't guarantee the resulting string is '\0'-terminated.
2008-09-21(svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front ↵rubidium
engine when turning a train in a station.
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-18(svn r14099) -Codechange: Welcome back, Celestar.belugas
While at it, an alphabetic error been fixed
2008-08-13(svn r14069) -Fix: silence MSVC 64-bits compile warnings.rubidium
2008-08-11(svn r14046) -Codechange: make the size of querystring "widgets" more ↵rubidium
configurable.
2008-08-02(svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals ↵rubidium
are drawn using the old Patch-like PBS sprites. (michi_cc)
2008-08-02(svn r13922) -Codechange: Move measurement-tooltip related stuff out of the ↵frosch
general tooltip window.
2008-07-31(svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous ↵belugas
guis.
2008-07-25(svn r13830) -Feature: show additional NewGRF info in the Tile Info window ↵smatz
for stations, houses and industries
2008-07-25(svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder ↵smatz
in tile description
2008-07-23(svn r13800) -Codechange: minor comment style fixes in misc_gui.cppsmatz
2008-07-22(svn r13787) -Codechange: resize the red error message box if neededsmatz
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-06-21(svn r13601) -Codechange: resize the Tile Info window when it is needed, ↵smatz
make it better readable
2008-06-02(svn r13359) -Codechange: convert _fios_items to a SmallVectorskidd13
-Cleanup: some reincarnations of _fios_items in the code
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to ↵rubidium
window_gui.h/window.cpp because they belong there.
2008-05-28(svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard)smatz
2008-05-28(svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers ↵peter1138
instead of just yes.
2008-05-27(svn r13304) -Fix (r13042): possible double free (showed up in r13092)smatz
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
2008-05-19(svn r13191) -Fix: segfault after confirming query subwindow in the Generate ↵smatz
New World window
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-19(svn r13182) -Doc: add documentation to mostly rail_gui related functions. ↵rubidium
Patch by Alberth.
2008-05-18(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the ↵rubidium
Window constructors.
2008-05-17(svn r13151) -Codechange: use an enum instead of bool as return type of ↵rubidium
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-17(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.rubidium
2008-05-17(svn r13131) -Codechange: make a class of the ErrmsgWindow.glx
2008-05-14(svn r13094) -Fix: closing the QueryWindow would always send a 'query has ↵rubidium
been cancelled message' even when it was not cancelled causing joining passworded servers/companies to fail.
2008-05-14(svn r13093) -Codechange: make a class of AboutWindow.glx
2008-05-14(svn r13092) -Fix (r13042): don't add a variable in a subclass when the ↵glx
parent class already have it
2008-05-11(svn r13049) -Codechange: make a class of the TooltipsWindow.rubidium
2008-05-11(svn r13042) -Codechange: make a class of CreateScenarioWindow, ↵rubidium
GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables.
2008-05-11(svn r13041) -Fix: calling a virtual function on a not fully constructed ↵rubidium
object is bound to cause errors.
2008-05-11(svn r13039) -Codechange: make a class of the Query window.rubidium
2008-05-10(svn r13033) -Fix [FS#2003](r13029): land info tool wasn't workingsmatz
2008-05-10(svn r13029) -Codechange: more work in the road to getting the WP macros and ↵rubidium
byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.