summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2008-06-12(svn r13495) -Fix: scrolling the main map with the keys speed was influenced ↵rubidium
by movement of the mouse.
2008-05-30(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when ↵rubidium
having a build tool selected failed.
2008-05-29(svn r13338) -Doc: add documentation about the window placement. Patch by ↵rubidium
Alberth.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29(svn r13322) -Codechange: _no_scroll belongs more with the window code.rubidium
2008-05-29(svn r13321) -Codechange: move some GUI/viewport related functions out op ↵rubidium
openttd.cpp to viewport.cpp/window.cpp.
2008-05-29(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to ↵rubidium
window_gui.h/window.cpp because they belong there.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-24(svn r13228) -Codechange: split console.h.rubidium
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
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