summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2008-05-11(svn r13041) -Fix: calling a virtual function on a not fully constructed ↵rubidium
object is bound to cause errors.
2008-05-10(svn r13031) -Codechange: make AssignWidgetToWindow a static function ↵rubidium
instead of a global one as it should only be used from window.cpp.
2008-05-10(svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure ↵rubidium
that the pointer you are allocating to is NULL. Patch by Alberth.
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 r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the ↵rubidium
same thing.
2008-05-09(svn r13025) -Codechange: remove the need for two WindowEvents.rubidium
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 r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so ↵rubidium
move it to there.
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 r12999) -Fix [FS#1995]: when a Window got deleted on a double click ↵rubidium
event, we should not send a click event to the now non-existant Window as that causes segfaults.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-05-07(svn r12984) -Codechange: some coding style in window.cpp.rubidium
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
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 r12942) -Fix [FS#1979]: closing some windows caused recursion in the ↵rubidium
Window deletion causing the reading invalid/freed data which could cause crashes.
2008-05-04(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.rubidium
2008-05-04(svn r12938) -Codechange: coding style fixes. Patch by Alberth.rubidium
2008-05-04(svn r12937) -Codechange: split allocating and finding the spot to place a ↵rubidium
window. Patch by Alberth.
2008-04-19(svn r12790) -Codechange: code style fixes. Patch by Alberth.rubidium
2008-04-19(svn r12787) -Documentation: add/fix documentation of some functions. Patch ↵rubidium
by Alberth.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-17(svn r12749) -Codechange: store the viewport information in the windows that ↵rubidium
have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
2008-04-14(svn r12714) -Fix [FS#1904]: do not move windows below the toolbar on ↵rubidium
resizes unless they would go behind the toolbar.
2008-04-13(svn r12695) -Codechange: only allocate window structs when needed. Based on ↵rubidium
a patch by Alberth.
2008-04-13(svn r12694) -Fix: do not call the mouse over callback on already deleted ↵rubidium
windows.
2008-04-13(svn r12693) -Documentation: add some documentation to some window related ↵rubidium
stuff. Based on a patch by Albert.
2008-04-13(svn r12692) -Codechange: swap to functions to remove a function declaration.rubidium
2008-04-07(svn r12619) -Codechange: lots of documentation about window related stuff. ↵rubidium
Patch by Alberth.
2008-03-15(svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar ↵smatz
after resizing the screen
2008-02-17(svn r12167) -Feature(tte): change colour of autorail and autoroad selection ↵smatz
when Ctrl is pressed
2008-02-17(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard ↵smatz
input, depot/group window wasn't updated (original patch by GrimRC)
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-01(svn r11740) -Fix [FS#1610]: Modify and possibly discard key events for code ↵egladil
points in the unicode private use area.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-13(svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor.rubidium
2007-12-08(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove ↵belugas
its now useless counterpart function
2007-12-08(svn r11595) -Codechange: add a new member to Window struct, based on its ↵belugas
function counterpart HandleButtonClick.