rubidium
|
ac8f0fdc7b
|
(svn r13141) -Codechange: remove an unused variable from Window.
|
2008-05-17 13:04:30 +00:00 |
|
rubidium
|
7812b24a77
|
(svn r13141) -Codechange: remove an unused variable from Window.
|
2008-05-17 13:04:30 +00:00 |
|
rubidium
|
ad6e52080c
|
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
|
2008-05-17 13:01:30 +00:00 |
|
rubidium
|
87015f5b63
|
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
|
2008-05-17 13:01:30 +00:00 |
|
rubidium
|
a89b5721a8
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
2008-05-17 12:48:06 +00:00 |
|
rubidium
|
8b54212900
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
2008-05-17 12:48:06 +00:00 |
|
rubidium
|
7f6ccdc624
|
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
|
2008-05-17 12:26:00 +00:00 |
|
rubidium
|
d8154e00ac
|
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
|
2008-05-17 12:26:00 +00:00 |
|
belugas
|
835a5fcf43
|
(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 |
|
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
|
758f4a358d
|
(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
|
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
|
0b61b6c1d0
|
(svn r13129) -Codechange: remove the WP macro and it's related variables.
|
2008-05-16 23:29:31 +00:00 |
|
rubidium
|
55546ae82c
|
(svn r13129) -Codechange: remove the WP macro and it's related variables.
|
2008-05-16 23:29:31 +00:00 |
|
rubidium
|
5a85fb104e
|
(svn r13117) -Codechange: make a window class of the PlayerFinancesWindow.
|
2008-05-16 07:34:48 +00:00 |
|
rubidium
|
b39525581d
|
(svn r13117) -Codechange: make a window class of the PlayerFinancesWindow.
|
2008-05-16 07:34:48 +00:00 |
|
rubidium
|
439b328f41
|
(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.
|
2008-05-15 20:04:10 +00:00 |
|
rubidium
|
b08d728ac9
|
(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.
|
2008-05-15 20:04:10 +00:00 |
|
rubidium
|
6d880ada7f
|
(svn r13104) -Codechange: make ResetObjectToPlace safe to be called recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows.
|
2008-05-15 14:41:56 +00:00 |
|
rubidium
|
5ae795953a
|
(svn r13104) -Codechange: make ResetObjectToPlace safe to be called recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows.
|
2008-05-15 14:41:56 +00:00 |
|
rubidium
|
31ab1e815a
|
(svn r13103) -Codechange: make a class of the PlayerCompanyWindow.
|
2008-05-15 14:12:22 +00:00 |
|
rubidium
|
8fff6e8638
|
(svn r13103) -Codechange: make a class of the PlayerCompanyWindow.
|
2008-05-15 14:12:22 +00:00 |
|
rubidium
|
a7db265bb6
|
(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 |
|
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 |
|
rubidium
|
bcdd9fcfe4
|
(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.
|
2008-05-11 18:17:56 +00:00 |
|
rubidium
|
4caa813711
|
(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.
|
2008-05-11 18:17:56 +00:00 |
|
glx
|
dacd2c5de8
|
(svn r13047) -Codechange: remove vp_d
|
2008-05-11 15:08:44 +00:00 |
|
glx
|
c708ab3b48
|
(svn r13047) -Codechange: remove vp_d
|
2008-05-11 15:08:44 +00:00 |
|
rubidium
|
89a60ce249
|
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
|
2008-05-11 14:23:45 +00:00 |
|
rubidium
|
75e3792aa3
|
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
|
2008-05-11 14:23:45 +00:00 |
|
rubidium
|
29ad1d442a
|
(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
|
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
|
9410be7b70
|
(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
|
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
|
2ac412375c
|
(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
|
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
|
f710876037
|
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
|
2008-05-10 12:30:27 +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
|
2c96ce4506
|
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
|
2008-05-10 08:58:52 +00:00 |
|
rubidium
|
f23026cce8
|
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
|
2008-05-10 08:58:52 +00:00 |
|
rubidium
|
8d0a7f4634
|
(svn r13025) -Codechange: remove the need for two WindowEvents.
|
2008-05-09 15:27:00 +00:00 |
|
rubidium
|
68a1d75d9e
|
(svn r13025) -Codechange: remove the need for two WindowEvents.
|
2008-05-09 15:27:00 +00:00 |
|
rubidium
|
0f7d925121
|
(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
|
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
|
11d36d5e46
|
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
|
2008-05-08 14:14:16 +00:00 |
|
rubidium
|
4a11ebe76f
|
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
|
2008-05-08 14:14:16 +00:00 |
|
rubidium
|
0c30e46c9c
|
(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.
|
2008-05-08 13:29:35 +00:00 |
|
rubidium
|
cd3dda5c0c
|
(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.
|
2008-05-08 13:29:35 +00:00 |
|
rubidium
|
f3d184aee4
|
(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
|
2008-05-08 12:59:47 +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
|
92aac531c2
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
2008-05-08 11:50:34 +00:00 |
|
rubidium
|
23fc96c3e8
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
2008-05-08 11:50:34 +00:00 |
|
rubidium
|
51cda2252c
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
2008-05-08 11:31:41 +00:00 |
|
rubidium
|
2eef026fe3
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
2008-05-08 11:31:41 +00:00 |
|
rubidium
|
c28ce39e3c
|
(svn r12987) -Codechange: split viewport and tile selection.
|
2008-05-07 13:10:15 +00:00 |
|
rubidium
|
3d5567ccf7
|
(svn r12987) -Codechange: split viewport and tile selection.
|
2008-05-07 13:10:15 +00:00 |
|
rubidium
|
c27f3cfa62
|
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
|
2008-05-06 22:17:12 +00:00 |
|
rubidium
|
402a1e24ba
|
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
|
2008-05-06 22:17:12 +00:00 |
|
rubidium
|
8796331d83
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
2008-05-06 21:28:30 +00:00 |
|
rubidium
|
e6c944a6c4
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
2008-05-06 21:28:30 +00:00 |
|
rubidium
|
0083ce9e1b
|
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
|
2008-05-04 10:05:50 +00:00 |
|
rubidium
|
cb680474c3
|
(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.
|
2008-05-04 10:05:50 +00:00 |
|
rubidium
|
a9775dfcc9
|
(svn r12790) -Codechange: code style fixes. Patch by Alberth.
|
2008-04-19 13:28:48 +00:00 |
|
rubidium
|
752c8d8f2e
|
(svn r12790) -Codechange: code style fixes. Patch by Alberth.
|
2008-04-19 13:28:48 +00:00 |
|
rubidium
|
ca1f8fbe2e
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
2008-04-18 04:37:06 +00:00 |
|
rubidium
|
9d8fa486af
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
2008-04-18 04:37:06 +00:00 |
|
rubidium
|
2752568d61
|
(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
|
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
|
8ab49198b9
|
(svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth.
|
2008-04-13 19:25:14 +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
|
99b51aa235
|
(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
|
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
|
89ff74fa73
|
(svn r12663) -Codechange: move the definition from 'order_d' to a more appropriate place and do not misuse it for the time table GUI.
|
2008-04-11 21:19:03 +00:00 |
|
rubidium
|
00d23c57b3
|
(svn r12663) -Codechange: move the definition from 'order_d' to a more appropriate place and do not misuse it for the time table GUI.
|
2008-04-11 21:19:03 +00:00 |
|
rubidium
|
1dc0af3248
|
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
|
2008-04-07 20:28:58 +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 |
|
rubidium
|
492d132831
|
(svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h.
|
2008-03-28 16:36:32 +00:00 |
|
rubidium
|
4c63dd074e
|
(svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h.
|
2008-03-28 16:36:32 +00:00 |
|
rubidium
|
bf54e0ba1c
|
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
|
2008-03-28 16:34:50 +00:00 |
|
rubidium
|
878489e38d
|
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
|
2008-03-28 16:34:50 +00:00 |
|
rubidium
|
2426f5342f
|
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
|
2008-03-28 08:53:36 +00:00 |
|
rubidium
|
eeabab4555
|
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
|
2008-03-28 08:53:36 +00:00 |
|
rubidium
|
a606fe9610
|
(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
|
2008-03-26 10:08:17 +00:00 |
|
rubidium
|
327e870962
|
(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
|
2008-03-26 10:08:17 +00:00 |
|
smatz
|
d3d126f999
|
(svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed
|
2008-02-17 17:00:43 +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 |
|
peter1138
|
c5b749f983
|
(svn r11988) -Codechange: Add a generic way of changing a widget's size and adjust the widgets around it to suit.
|
2008-01-26 20:55:04 +00:00 |
|
peter1138
|
c99eb9e456
|
(svn r11988) -Codechange: Add a generic way of changing a widget's size and adjust the widgets around it to suit.
|
2008-01-26 20:55:04 +00:00 |
|
peter1138
|
04da1e1d45
|
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
2008-01-18 10:36:55 +00:00 |
|
peter1138
|
68707808c0
|
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
2008-01-18 10:36:55 +00:00 |
|
peter1138
|
9fdb9a82a2
|
(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control.
|
2008-01-17 18:09:15 +00:00 |
|
peter1138
|
c313676c66
|
(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control.
|
2008-01-17 18:09:15 +00:00 |
|
peter1138
|
1fa2285327
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
2008-01-14 16:10:58 +00:00 |
|
peter1138
|
e4c05f8d78
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
2008-01-14 16:10:58 +00:00 |
|
rubidium
|
fafab82a31
|
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
|
2008-01-13 13:36:01 +00:00 |
|
rubidium
|
5c4150d304
|
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
|
2008-01-13 13:36:01 +00:00 |
|
rubidium
|
90acd52f22
|
(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
|
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
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
2008-01-12 14:10:35 +00:00 |
|
rubidium
|
ac528411df
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
2008-01-12 14:10:35 +00:00 |
|
rubidium
|
64d691bacc
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
2008-01-09 09:45:45 +00:00 |
|
rubidium
|
0e517fe023
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
2008-01-09 09:45:45 +00:00 |
|
peter1138
|
342ad858e5
|
(svn r11786) -Codechange: shuffle more includes
|
2008-01-09 08:12:10 +00:00 |
|
peter1138
|
931e6ea49d
|
(svn r11786) -Codechange: shuffle more includes
|
2008-01-09 08:12:10 +00:00 |
|
rubidium
|
c08bff8931
|
(svn r11785) -Codechange: remove some unneeded includes.
|
2008-01-09 00:59:02 +00:00 |
|
rubidium
|
cd92981e9f
|
(svn r11785) -Codechange: remove some unneeded includes.
|
2008-01-09 00:59:02 +00:00 |
|
rubidium
|
b09d957f31
|
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
|
2008-01-07 14:23:25 +00:00 |
|
rubidium
|
a3ccdcea36
|
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
|
2008-01-07 14:23:25 +00:00 |
|
rubidium
|
f82aeb82c5
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
2007-12-26 11:45:43 +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
|
8ebdfb258f
|
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
|
2007-12-21 19:21:21 +00:00 |
|
rubidium
|
01e20c9140
|
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
|
2007-12-21 19:21:21 +00:00 |
|
rubidium
|
2cf7d5b2cb
|
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
|
2007-12-19 20:45:46 +00:00 |
|
rubidium
|
d582aea639
|
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
|
2007-12-19 20:45:46 +00:00 |
|
rubidium
|
8bfbfd0031
|
(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
|
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 |
|