rubidium
|
ac7757324e
|
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
|
16 years ago |
peter1138
|
aad67b5736
|
(svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
|
16 years ago |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
frosch
|
4780c73224
|
(svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus)
|
16 years ago |
rubidium
|
c08f520acf
|
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
|
16 years ago |
rubidium
|
c71862174a
|
(svn r14905) -Fix (r14899): in some corner cases already freed memory could be read.
|
16 years ago |
rubidium
|
84dee1e738
|
(svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
|
16 years ago |
rubidium
|
19edb3ccc3
|
(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes (from back to front or vice versa) and make it iterate over the Window* instead of Window**.
|
16 years ago |
rubidium
|
8c33893ffd
|
(svn r14824) -Fix [FS#1725]: mouse events could be treated twice (illogict)
|
16 years ago |
rubidium
|
e5c1a7b5c3
|
(svn r14804) -Codechange: unify opening the OSK (Zuu)
|
16 years ago |
rubidium
|
8ff93c2c14
|
(svn r14794) -Document: a few functions/variables (Alberth)
|
16 years ago |
rubidium
|
1357b0a4c2
|
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
|
16 years ago |
rubidium
|
b3f2f40db7
|
(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when 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.
|
16 years ago |
rubidium
|
1599ade7ca
|
(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.
|
16 years ago |
rubidium
|
a999bb3227
|
(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
|
16 years ago |
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
16 years ago |
rubidium
|
3b798599b6
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
16 years ago |
smatz
|
6987e6015a
|
(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is 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, ...
|
16 years ago |
rubidium
|
6a931d67cd
|
(svn r14390) -Codechange: replace magic constants with symbolic constants.
|
16 years ago |
rubidium
|
d0c1a989a4
|
(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.
|
16 years ago |
rubidium
|
7dcc69e617
|
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
|
17 years ago |
rubidium
|
3d75eb446d
|
(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
|
17 years ago |
rubidium
|
e2997c9976
|
(svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
|
17 years ago |
rubidium
|
923e21129c
|
(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.
|
17 years ago |
rubidium
|
22d7b25296
|
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
|
17 years ago |
rubidium
|
f2869bb7db
|
(svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp.
|
17 years ago |
rubidium
|
27bca407de
|
(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there.
|
17 years ago |
rubidium
|
4625695653
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
17 years ago |
rubidium
|
6c20f77330
|
(svn r13228) -Codechange: split console.h.
|
17 years ago |
rubidium
|
27c38052b7
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
17 years ago |
rubidium
|
6da56ee87e
|
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
|
17 years ago |
rubidium
|
fc4393dcfe
|
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
|
17 years ago |
rubidium
|
f5681547ef
|
(svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
17 years ago |
rubidium
|
7812b24a77
|
(svn r13141) -Codechange: remove an unused variable from Window.
|
17 years ago |
rubidium
|
d8154e00ac
|
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
|
17 years ago |
belugas
|
17bd325574
|
(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.
This will allow to free the said window only once, and not twice otherwise
|
17 years ago |
rubidium
|
cc0dae2271
|
(svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore.
|
17 years ago |
rubidium
|
009a748ab3
|
(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.
|
17 years ago |
rubidium
|
dddfaaac7d
|
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
|
17 years ago |
glx
|
c708ab3b48
|
(svn r13047) -Codechange: remove vp_d
|
17 years ago |
rubidium
|
e63137f47f
|
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
|
17 years ago |
rubidium
|
83664c8bc4
|
(svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.
|
17 years ago |
rubidium
|
89c15ecb23
|
(svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth.
|
17 years ago |
rubidium
|
d24442ae8b
|
(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.
|
17 years ago |
rubidium
|
935434333b
|
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
|
17 years ago |
rubidium
|
68a1d75d9e
|
(svn r13025) -Codechange: remove the need for two WindowEvents.
|
17 years ago |
rubidium
|
f438700402
|
(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.
|
17 years ago |
rubidium
|
9ed36409c5
|
(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
|
17 years ago |
rubidium
|
23fc96c3e8
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
17 years ago |
rubidium
|
2eef026fe3
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
17 years ago |