summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2009-01-13(svn r15065) -Change (r14919): Allow to select a new station location by ↵frosch
ctrl-clicking while distant-join window is open. (PhilSophus)
2009-01-09(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with ↵rubidium
spaces
2009-01-07(svn r14905) -Fix (r14899): in some corner cases already freed memory could ↵rubidium
be read.
2009-01-07(svn r14899) -Feature: remove the window limit, but leave a configurable ↵rubidium
limit on the number of non-sticky non-vital windows. -Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
2009-01-06(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes ↵rubidium
(from back to front or vice versa) and make it iterate over the Window* instead of Window**.
2009-01-04(svn r14824) -Fix [FS#1725]: mouse events could be treated twice (illogict)rubidium
2009-01-03(svn r14804) -Codechange: unify opening the OSK (Zuu)rubidium
2009-01-03(svn r14794) -Document: a few functions/variables (Alberth)rubidium
2009-01-02(svn r14789) -Feature: allow scrolling with the left mouse button pressed ↵rubidium
(if enabled). Primarily useful for systems with touch screen (aapo)
2009-01-02(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when ↵rubidium
station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
2008-12-16(svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map ↵rubidium
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.
2008-10-14(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter ↵rubidium
names in comments and add a little more doxygen documentation.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-24(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is ↵smatz
deleted/modified while the timetable window is open -Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-08-11(svn r14047) -Codechange: move chatmessage handling to the network directory ↵rubidium
as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
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