Commit Graph

143 Commits (5cedf77a9ad8d1256dd0da3fcfe5bcae2bb79073)

Author SHA1 Message Date
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium c3fd582c55 (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 16 years ago
rubidium 6da56ee87e (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 16 years ago
rubidium f5681547ef (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 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium d8154e00ac (svn r13138) -Codechange: remove the need for IsWindowOfPrototype. 16 years ago
glx 5b54c9e373 (svn r13131) -Codechange: make a class of the ErrmsgWindow. 16 years ago
rubidium 0449abe88b (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 be43bbc3f3 (svn r13093) -Codechange: make a class of AboutWindow. 16 years ago
glx 22960e82aa (svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it 16 years ago
rubidium 3ef0a1e3be (svn r13049) -Codechange: make a class of the TooltipsWindow. 16 years ago
rubidium eb2d47b547 (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 e63137f47f (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 16 years ago
rubidium 46875e28be (svn r13039) -Codechange: make a class of the Query window. 16 years ago
smatz d41f3def5c (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 16 years ago
rubidium d24442ae8b (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 f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 16 years ago
rubidium f438700402 (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 ba853fdb0b (svn r13018) -Codechange: make a class of the LandInfo Window. 16 years ago
rubidium 4a11ebe76f (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 cd3dda5c0c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 16 years ago
rubidium 23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 2eef026fe3 (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
rubidium 3d5567ccf7 (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium e6c944a6c4 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium d03994098b (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 cb680474c3 (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 16 years ago
peter1138 24cccc8333 (svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. 16 years ago
rubidium 1b2773445d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 16 years ago
rubidium 9d8fa486af (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
rubidium b1d1a4ac66 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 16 years ago
glx 5e2a5953a4 (svn r12686) -Fix: MSVC signed/unsigned warning 16 years ago
rubidium 1bd5a29df5 (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 16 years ago
smatz d977461d10 (svn r12579) -Change: reset cursor when the Plant trees GUI is opened 16 years ago
smatz e5d4ee30d3 (svn r12565) -Cleanup: variable scope in misc\*.cpp 16 years ago
smatz ff7e8fb2dd (svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened 16 years ago
rubidium 6f15d34fe5 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
belugas 3256b24dd6 (svn r12444) -Fix: A little typo 16 years ago
rubidium f241b0acd4 (svn r12426) -Cleanup: sprinkle some coding style over a few files. 16 years ago
rubidium 327e870962 (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 5d747802f2 (svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines. 16 years ago
peter1138 9674ff71de (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 1b73417e5f (svn r12206) -Fix: A comma is not a rare resource. Do not hesitate to use it when needed. 17 years ago
belugas b4b5c09ff9 (svn r12187) -Add: frosch as dev. Last, but not least 17 years ago
maedhros 21eef65e77 (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 0847def759 (svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows if cargo acceptance list is too long. 17 years ago
peter1138 68707808c0 (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
rubidium dc87b05e8c (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago