Commit Graph

144 Commits (42f78d2fc3855b0d358197745b0d0ba099ef066c)

Author SHA1 Message Date
smatz c1e45bcb01 (svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window 16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium 8560c8f16f (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 16 years ago
rubidium a21d3fc63b (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 16 years ago
rubidium d284ba2283 (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium 7f6ccdc624 (svn r13138) -Codechange: remove the need for IsWindowOfPrototype. 16 years ago
glx 0e9eb5bacb (svn r13131) -Codechange: make a class of the ErrmsgWindow. 16 years ago
rubidium beb17f743f (svn r13094) -Fix: closing the QueryWindow would always send a 'query has been cancelled message' even when it was not cancelled causing joining passworded servers/companies to fail. 16 years ago
glx 5704d59314 (svn r13093) -Codechange: make a class of AboutWindow. 16 years ago
glx e812c8223f (svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it 16 years ago
rubidium 323004da0c (svn r13049) -Codechange: make a class of the TooltipsWindow. 16 years ago
rubidium d8a6bb392a (svn r13042) -Codechange: make a class of CreateScenarioWindow, 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. 16 years ago
rubidium 29ad1d442a (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 16 years ago
rubidium dc42908757 (svn r13039) -Codechange: make a class of the Query window. 16 years ago
smatz 311a3f9675 (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 16 years ago
rubidium 2ac412375c (svn r13029) -Codechange: more work in the road to getting the WP macros and 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. 16 years ago
rubidium 2c96ce4506 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 16 years ago
rubidium 0f7d925121 (svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. 16 years ago
rubidium fc47683a0b (svn r13018) -Codechange: make a class of the LandInfo Window. 16 years ago
rubidium 11d36d5e46 (svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. 16 years ago
rubidium 0c30e46c9c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 16 years ago
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
rubidium c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium 0083ce9e1b (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 16 years ago
peter1138 b471c5d312 (svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. 16 years ago
rubidium d46d8d9c9d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 16 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
rubidium 18e64b28e2 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 16 years ago
glx 0b3a78b927 (svn r12686) -Fix: MSVC signed/unsigned warning 16 years ago
rubidium bd432258cb (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 16 years ago
smatz f8b2e84537 (svn r12579) -Change: reset cursor when the Plant trees GUI is opened 16 years ago
smatz 2185591156 (svn r12565) -Cleanup: variable scope in misc\*.cpp 16 years ago
smatz 8ed3f5fd5e (svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened 16 years ago
rubidium 877ca99198 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
belugas 8988c1f7c1 (svn r12444) -Fix: A little typo 16 years ago
rubidium a28f2f2bb1 (svn r12426) -Cleanup: sprinkle some coding style over a few files. 16 years ago
rubidium a606fe9610 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 16 years ago
rubidium fedb33d697 (svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines. 16 years ago
peter1138 bb89e98ec2 (svn r12336) -Fix [FS#1733]: Don't pause/unpause the game when showing load/save windows when the game is paused due to missing GRFs. 17 years ago
belugas 35356c97e7 (svn r12206) -Fix: A comma is not a rare resource. Do not hesitate to use it when needed. 17 years ago
belugas 20035ca48d (svn r12187) -Add: frosch as dev. Last, but not least 17 years ago
maedhros f95fb570ad (svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs. 17 years ago
peter1138 ec1d547889 (svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows if cargo acceptance list is too long. 17 years ago
peter1138 04da1e1d45 (svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel. 17 years ago