src/window.cpp
Tue, 16 Dec 2008 17:58:27 +0000 rubidium (svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window.
Tue, 14 Oct 2008 19:27:08 +0000 rubidium (svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
Tue, 30 Sep 2008 20:39:50 +0000 rubidium (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
Wed, 24 Sep 2008 16:40:06 +0000 smatz (svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
Tue, 23 Sep 2008 15:24:15 +0000 rubidium (svn r14390) -Codechange: replace magic constants with symbolic constants.
Mon, 11 Aug 2008 22:45:11 +0000 rubidium (svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
Thu, 12 Jun 2008 19:06:30 +0000 rubidium (svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
Fri, 30 May 2008 21:06:43 +0000 rubidium (svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
Thu, 29 May 2008 22:22:02 +0000 rubidium (svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
Thu, 29 May 2008 15:13:28 +0000 rubidium (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
Thu, 29 May 2008 11:13:11 +0000 rubidium (svn r13322) -Codechange: _no_scroll belongs more with the window code.
Thu, 29 May 2008 10:16:59 +0000 rubidium (svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp.
Thu, 29 May 2008 06:49:56 +0000 rubidium (svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there.
Sun, 25 May 2008 19:17:03 +0000 rubidium (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
Sat, 24 May 2008 10:15:06 +0000 rubidium (svn r13228) -Codechange: split console.h.
Mon, 19 May 2008 09:48:47 +0000 rubidium (svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
Sun, 18 May 2008 20:40:30 +0000 rubidium (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
Sun, 18 May 2008 12:40:38 +0000 rubidium (svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
Sat, 17 May 2008 23:11:06 +0000 rubidium (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
Sat, 17 May 2008 13:04:30 +0000 rubidium (svn r13141) -Codechange: remove an unused variable from Window.
Sat, 17 May 2008 12:26:00 +0000 rubidium (svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
Sat, 17 May 2008 03:29:16 +0000 belugas (svn r13133) -Codechange: Add a base class (descending from Window) for all new windows that are going to require a ResetObjectToPlace to be performed on closing.
Fri, 16 May 2008 23:30:10 +0000 rubidium (svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore.
Thu, 15 May 2008 11:17:56 +0000 rubidium (svn r13099) -Fix [FS#2014]: when a window had children only one of them would be closed (on a parent closure) instead of all children.
Tue, 13 May 2008 14:43:33 +0000 rubidium (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
Sun, 11 May 2008 15:08:44 +0000 glx (svn r13047) -Codechange: remove vp_d
Sun, 11 May 2008 11:41:18 +0000 rubidium (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
Sat, 10 May 2008 13:54:20 +0000 rubidium (svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.
Sat, 10 May 2008 13:53:11 +0000 rubidium (svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth.
Sat, 10 May 2008 13:46:36 +0000 rubidium (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.
Sat, 10 May 2008 12:30:27 +0000 rubidium (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
Fri, 09 May 2008 15:27:00 +0000 rubidium (svn r13025) -Codechange: remove the need for two WindowEvents.
Fri, 09 May 2008 09:29:27 +0000 rubidium (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.
Thu, 08 May 2008 12:59:47 +0000 rubidium (svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
Thu, 08 May 2008 11:50:34 +0000 rubidium (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
Thu, 08 May 2008 11:31:41 +0000 rubidium (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
Wed, 07 May 2008 21:45:27 +0000 rubidium (svn r12999) -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults.
Wed, 07 May 2008 13:10:15 +0000 rubidium (svn r12987) -Codechange: split viewport and tile selection.
Wed, 07 May 2008 08:27:55 +0000 rubidium (svn r12984) -Codechange: some coding style in window.cpp.
Tue, 06 May 2008 22:17:12 +0000 rubidium (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
Tue, 06 May 2008 22:08:18 +0000 rubidium (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
Tue, 06 May 2008 21:28:30 +0000 rubidium (svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
Tue, 06 May 2008 15:11:33 +0000 rubidium (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.
Sun, 04 May 2008 21:36:37 +0000 rubidium (svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes.
Sun, 04 May 2008 10:05:50 +0000 rubidium (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
Sun, 04 May 2008 08:56:59 +0000 rubidium (svn r12938) -Codechange: coding style fixes. Patch by Alberth.
Sun, 04 May 2008 08:49:57 +0000 rubidium (svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.
Sat, 19 Apr 2008 13:28:48 +0000 rubidium (svn r12790) -Codechange: code style fixes. Patch by Alberth.
Sat, 19 Apr 2008 13:05:05 +0000 rubidium (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth.
Thu, 17 Apr 2008 21:21:01 +0000 rubidium (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
Thu, 17 Apr 2008 09:42:44 +0000 rubidium (svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
Mon, 14 Apr 2008 23:26:31 +0000 rubidium (svn r12714) -Fix [FS#1904]: do not move windows below the toolbar on resizes unless they would go behind the toolbar.
Sun, 13 Apr 2008 19:25:14 +0000 rubidium (svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth.
Sun, 13 Apr 2008 19:06:30 +0000 rubidium (svn r12694) -Fix: do not call the mouse over callback on already deleted windows.
Sun, 13 Apr 2008 19:01:26 +0000 rubidium (svn r12693) -Documentation: add some documentation to some window related stuff. Based on a patch by Albert.
Sun, 13 Apr 2008 18:59:32 +0000 rubidium (svn r12692) -Codechange: swap to functions to remove a function declaration.
Mon, 07 Apr 2008 20:28:58 +0000 rubidium (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
Sat, 15 Mar 2008 20:32:42 +0000 smatz (svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar after resizing the screen
Sun, 17 Feb 2008 17:00:43 +0000 smatz (svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed