rubidium
|
90e2465d7d
|
(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window
|
2009-02-09 02:33:10 +00:00 |
rubidium
|
861e9cefb3
|
(svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu).
|
2009-02-09 01:22:29 +00:00 |
rubidium
|
9907742a0f
|
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
|
2009-02-09 01:06:23 +00:00 |
rubidium
|
ac7757324e
|
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
|
2009-02-04 16:59:41 +00:00 |
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.
|
2009-02-01 22:32:07 +00:00 |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
2009-01-31 20:16:06 +00:00 |
frosch
|
4780c73224
|
(svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus)
|
2009-01-13 17:28:11 +00:00 |
rubidium
|
c08f520acf
|
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
|
2009-01-09 22:48:57 +00:00 |
rubidium
|
c71862174a
|
(svn r14905) -Fix (r14899): in some corner cases already freed memory could be read.
|
2009-01-07 18:59:46 +00:00 |
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.
|
2009-01-07 16:11:27 +00:00 |
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**.
|
2009-01-06 22:37:42 +00:00 |
rubidium
|
8c33893ffd
|
(svn r14824) -Fix [FS#1725]: mouse events could be treated twice (illogict)
|
2009-01-04 12:09:48 +00:00 |
rubidium
|
e5c1a7b5c3
|
(svn r14804) -Codechange: unify opening the OSK (Zuu)
|
2009-01-03 13:59:05 +00:00 |
rubidium
|
8ff93c2c14
|
(svn r14794) -Document: a few functions/variables (Alberth)
|
2009-01-03 10:52:22 +00:00 |
rubidium
|
1357b0a4c2
|
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
|
2009-01-02 22:42:05 +00:00 |
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.
|
2009-01-02 20:59:04 +00:00 |
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.
|
2008-12-16 17:58:27 +00:00 |
rubidium
|
a999bb3227
|
(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
|
2008-10-14 19:27:08 +00:00 |
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
2008-09-30 20:51:04 +00:00 |
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.
|
2008-09-30 20:39:50 +00:00 |
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, ...
|
2008-09-24 16:40:06 +00:00 |
rubidium
|
6a931d67cd
|
(svn r14390) -Codechange: replace magic constants with symbolic constants.
|
2008-09-23 15:24:15 +00:00 |
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.
|
2008-08-11 22:45:11 +00:00 |
rubidium
|
7dcc69e617
|
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
|
2008-06-12 19:06:30 +00:00 |
rubidium
|
3d75eb446d
|
(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
|
2008-05-30 21:06:43 +00:00 |
rubidium
|
e2997c9976
|
(svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
|
2008-05-29 22:22:02 +00:00 |
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.
|
2008-05-29 15:13:28 +00:00 |
rubidium
|
22d7b25296
|
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
|
2008-05-29 11:13:11 +00:00 |
rubidium
|
f2869bb7db
|
(svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp.
|
2008-05-29 10:16:59 +00:00 |
rubidium
|
27bca407de
|
(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there.
|
2008-05-29 06:49:56 +00:00 |
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.
|
2008-05-25 19:17:03 +00:00 |
rubidium
|
6c20f77330
|
(svn r13228) -Codechange: split console.h.
|
2008-05-24 10:15:06 +00:00 |
rubidium
|
27c38052b7
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
2008-05-19 09:48:47 +00:00 |
rubidium
|
6da56ee87e
|
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
|
2008-05-18 20:40:30 +00:00 |
rubidium
|
fc4393dcfe
|
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
|
2008-05-18 12:40:38 +00:00 |
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.
|
2008-05-17 23:11:06 +00:00 |
rubidium
|
7812b24a77
|
(svn r13141) -Codechange: remove an unused variable from Window.
|
2008-05-17 13:04:30 +00:00 |
rubidium
|
d8154e00ac
|
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
|
2008-05-17 12:26:00 +00:00 |
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
|
2008-05-17 03:29:16 +00:00 |
rubidium
|
cc0dae2271
|
(svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore.
|
2008-05-16 23:30:10 +00:00 |
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.
|
2008-05-15 11:17:56 +00:00 |
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.
|
2008-05-13 14:43:33 +00:00 |
glx
|
c708ab3b48
|
(svn r13047) -Codechange: remove vp_d
|
2008-05-11 15:08:44 +00:00 |
rubidium
|
e63137f47f
|
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
|
2008-05-11 11:41:18 +00:00 |
rubidium
|
83664c8bc4
|
(svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.
|
2008-05-10 13:54:20 +00:00 |
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.
|
2008-05-10 13:53:11 +00:00 |
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.
|
2008-05-10 13:46:36 +00:00 |
rubidium
|
935434333b
|
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
|
2008-05-10 12:30:27 +00:00 |
rubidium
|
68a1d75d9e
|
(svn r13025) -Codechange: remove the need for two WindowEvents.
|
2008-05-09 15:27:00 +00:00 |
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.
|
2008-05-09 09:29:27 +00:00 |
rubidium
|
9ed36409c5
|
(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
|
2008-05-08 12:59:47 +00:00 |
rubidium
|
23fc96c3e8
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
2008-05-08 11:50:34 +00:00 |
rubidium
|
2eef026fe3
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
2008-05-08 11:31:41 +00:00 |
rubidium
|
19910188fa
|
(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.
|
2008-05-07 21:45:27 +00:00 |
rubidium
|
3d5567ccf7
|
(svn r12987) -Codechange: split viewport and tile selection.
|
2008-05-07 13:10:15 +00:00 |
rubidium
|
ca4349b517
|
(svn r12984) -Codechange: some coding style in window.cpp.
|
2008-05-07 08:27:55 +00:00 |
rubidium
|
402a1e24ba
|
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
|
2008-05-06 22:17:12 +00:00 |
rubidium
|
9bf519f26b
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
2008-05-06 22:08:18 +00:00 |
rubidium
|
e6c944a6c4
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
2008-05-06 21:28:30 +00:00 |
rubidium
|
d03994098b
|
(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.
|
2008-05-06 15:11:33 +00:00 |
rubidium
|
762315c47c
|
(svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes.
|
2008-05-04 21:36:37 +00:00 |
rubidium
|
cb680474c3
|
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
|
2008-05-04 10:05:50 +00:00 |
rubidium
|
a26b25aecc
|
(svn r12938) -Codechange: coding style fixes. Patch by Alberth.
|
2008-05-04 08:56:59 +00:00 |
rubidium
|
5b44c68b19
|
(svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth.
|
2008-05-04 08:49:57 +00:00 |
rubidium
|
752c8d8f2e
|
(svn r12790) -Codechange: code style fixes. Patch by Alberth.
|
2008-04-19 13:28:48 +00:00 |
rubidium
|
c84fe27ca9
|
(svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth.
|
2008-04-19 13:05:05 +00:00 |
rubidium
|
b1d1a4ac66
|
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
|
2008-04-17 21:21:01 +00:00 |
rubidium
|
c31287206d
|
(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.
|
2008-04-17 09:42:44 +00:00 |
rubidium
|
fd38b3f850
|
(svn r12714) -Fix [FS#1904]: do not move windows below the toolbar on resizes unless they would go behind the toolbar.
|
2008-04-14 23:26:31 +00:00 |
rubidium
|
9a73b698d4
|
(svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth.
|
2008-04-13 19:25:14 +00:00 |
rubidium
|
04138ddffc
|
(svn r12694) -Fix: do not call the mouse over callback on already deleted windows.
|
2008-04-13 19:06:30 +00:00 |
rubidium
|
2310557716
|
(svn r12693) -Documentation: add some documentation to some window related stuff. Based on a patch by Albert.
|
2008-04-13 19:01:26 +00:00 |
rubidium
|
87ddcb0d5a
|
(svn r12692) -Codechange: swap to functions to remove a function declaration.
|
2008-04-13 18:59:32 +00:00 |
rubidium
|
ee02dd7dad
|
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
|
2008-04-07 20:28:58 +00:00 |
smatz
|
756e0d9b6e
|
(svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar after resizing the screen
|
2008-03-15 20:32:42 +00:00 |
smatz
|
8b56e7544e
|
(svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed
|
2008-02-17 17:00:43 +00:00 |
smatz
|
291931bf50
|
(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC)
|
2008-02-17 12:21:05 +00:00 |
rubidium
|
dc87b05e8c
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
2008-01-13 14:37:30 +00:00 |
rubidium
|
5c4150d304
|
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
|
2008-01-13 13:36:01 +00:00 |
rubidium
|
d4e6a6bf57
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
2008-01-13 01:21:35 +00:00 |
rubidium
|
ac528411df
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
2008-01-12 14:10:35 +00:00 |
rubidium
|
0e517fe023
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
2008-01-09 09:45:45 +00:00 |
egladil
|
9a2547b5a7
|
(svn r11740) -Fix [FS#1610]: Modify and possibly discard key events for code points in the unicode private use area.
|
2008-01-01 18:55:15 +00:00 |
rubidium
|
384503e7d3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
2007-12-27 13:35:39 +00:00 |
rubidium
|
2786d789a1
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
2007-12-26 11:45:43 +00:00 |
rubidium
|
429521a7d1
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
2007-12-25 11:26:07 +00:00 |
rubidium
|
bf98e25e43
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
2007-12-25 09:48:53 +00:00 |
rubidium
|
a773d45885
|
(svn r11684) -Codechange: split gfx.h in a type and functional header.
|
2007-12-23 10:56:02 +00:00 |
rubidium
|
8f0e68285b
|
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
|
2007-12-22 23:30:28 +00:00 |
rubidium
|
8896bea306
|
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
2007-12-19 19:44:29 +00:00 |
rubidium
|
a0f2366e40
|
(svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor.
|
2007-12-13 18:46:04 +00:00 |
belugas
|
73c58d8a40
|
(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function
|
2007-12-08 03:10:50 +00:00 |
belugas
|
b23f824f18
|
(svn r11595) -Codechange: add a new member to Window struct, based on its function counterpart HandleButtonClick.
|
2007-12-08 02:55:47 +00:00 |
belugas
|
af4d07b978
|
(svn r11593) -Cleanup: remove some forgotten pieces of evidence of a mischief
|
2007-12-08 01:30:18 +00:00 |
belugas
|
8c89641dbe
|
(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function
|
2007-12-08 01:20:47 +00:00 |
belugas
|
6fb71047d6
|
(svn r11591) -Codechange: remove now unused widget accessors.
|
2007-12-08 01:02:19 +00:00 |
glx
|
c21f588a14
|
(svn r11588) -Codechange: use the new member introduced in r11551
|
2007-12-07 18:05:49 +00:00 |
glx
|
10e17c30a3
|
(svn r11586) -Fix: make another widget 'accessor' function const when it should be const.
|
2007-12-07 17:42:15 +00:00 |
rubidium
|
dd68a34e26
|
(svn r11583) -Fix [FS#1484]: windows could get completely missing when one resized the window to something very small.
|
2007-12-06 20:55:48 +00:00 |
belugas
|
6c70cf2d82
|
(svn r11579) -Revert(r11578): some cases of key propagation are not handled correctly.
A better solution will be deviced, but not now. Let's not cause a ton of bug reports
|
2007-12-06 15:58:39 +00:00 |