summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
AgeCommit message (Collapse)Author
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.
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-08(svn r13018) -Codechange: make a class of the LandInfo Window.rubidium
2008-05-08(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the ↵rubidium
.cpp files where they are actually used.
2008-05-08(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.rubidium
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-04(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.rubidium
2008-04-23(svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix ↵peter1138
with _ for non-globals, and use implicit enum numbering.
2008-04-18(svn r12765) -Codechange: move some stuff out of variables.h that required ↵rubidium
including other headers in variables.h.
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-13(svn r12686) -Fix: MSVC signed/unsigned warningglx
2008-04-06(svn r12596) -Feature: show what cargos a station could be supplied with. ↵rubidium
Patch by Roujin.
2008-04-05(svn r12579) -Change: reset cursor when the Plant trees GUI is openedsmatz
2008-04-04(svn r12565) -Cleanup: variable scope in misc\*.cppsmatz
2008-04-03(svn r12550) -Change: the signal GUI is now persistent - has the same data ↵smatz
when it is reopened
2008-03-31(svn r12495) -Codechange: reduce the dependency on newgrf_station.h ↵rubidium
(especially because newgrf_station.h includes a lot of stuff).
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-27(svn r12444) -Fix: A little typobelugas
2008-03-26(svn r12426) -Cleanup: sprinkle some coding style over a few files.rubidium
2008-03-26(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so ↵rubidium
someone without a keyboard can enter text too. Patch by Dominik.
2008-03-22(svn r12389) -Codechange: remove unneeded code from the Cheat window ↵rubidium
handling and bring it in line with the coding guidelines.
2008-03-04(svn r12336) -Fix [FS#1733]: Don't pause/unpause the game when showing ↵peter1138
load/save windows when the game is paused due to missing GRFs.
2008-02-20(svn r12206) -Fix: A comma is not a rare resource. Do not hesitate to use ↵belugas
it when needed.
2008-02-19(svn r12187) -Add: frosch as dev. Last, but not leastbelugas
2008-01-27(svn r11994) -Codechange: Remove numbers from string names where the strings ↵maedhros
aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
2008-01-27(svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows ↵peter1138
if cargo acceptance list is too long.
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.