summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2008-05-18(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the ↵rubidium
Window constructors.
2008-05-18(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of ↵rubidium
WindowEvent.
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 r13141) -Codechange: remove an unused variable from Window.rubidium
2008-05-17(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.rubidium
2008-05-17(svn r13133) -Codechange: Add a base class (descending from Window) for all ↵belugas
new windows that are going to require a ResetObjectToPlace to be performed on closing. This will allow to free the said window only once, and not twice otherwise
2008-05-16(svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper ↵rubidium
functions/enums/variables as they are not used anymore.
2008-05-15(svn r13099) -Fix [FS#2014]: when a window had children only one of them ↵rubidium
would be closed (on a parent closure) instead of all children.
2008-05-13(svn r13069) -Codechange: it is no longer needed to pass a void *data ↵rubidium
pointer with the WE_CREATE message because nothing uses it anymore.
2008-05-11(svn r13047) -Codechange: remove vp_dglx
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.