rubidium
|
6d72ae033a
|
(svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers
|
2009-09-02 08:08:30 +00:00 |
|
rubidium
|
2e59affde5
|
(svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers
|
2009-09-02 07:17:15 +00:00 |
|
rubidium
|
042a99e328
|
(svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappers
|
2009-09-02 07:01:25 +00:00 |
|
rubidium
|
f1ba8fb206
|
(svn r17365) -Codechange: introduce wrapper functions to update the position, capacity and count of scroll bars. This to (eventually) prevent the scrollbar overflowing outside of the window
|
2009-09-02 06:34:40 +00:00 |
|
Yexo
|
7cb4f3e7a3
|
(svn r17324) -Codechange: Land info window uses nested widget tree
|
2009-08-30 17:07:53 +00:00 |
|
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
alberth
|
bef94e081d
|
(svn r17175) -Codechange: Only auto-raise push buttons.
|
2009-08-14 21:27:08 +00:00 |
|
alberth
|
0cc8cbd40d
|
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
|
2009-08-14 18:41:03 +00:00 |
|
alberth
|
eeaa337a21
|
(svn r17024) -Codechange: Allow InitNested to be done in two parts.
|
2009-08-01 15:49:18 +00:00 |
|
alberth
|
db73234ba1
|
(svn r17008) -Fix [FS#3061]: Resize matrix in station build window vertically according to font height.
|
2009-07-31 22:08:19 +00:00 |
|
alberth
|
84507dc358
|
(svn r16963) -Codechange: Added NWidgetViewport widget.
|
2009-07-26 17:29:01 +00:00 |
|
alberth
|
9caa2e941e
|
(svn r16960) -Doc: Added some viewport and vehicle type doxygen strings.
|
2009-07-26 12:49:26 +00:00 |
|
alberth
|
42714792dc
|
(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.
|
2009-07-25 11:54:53 +00:00 |
|
alberth
|
2399f91f62
|
(svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently.
|
2009-07-21 22:25:21 +00:00 |
|
alberth
|
41671a441d
|
(svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase.
|
2009-07-20 19:44:28 +00:00 |
|
alberth
|
05cbe62ba2
|
(svn r16890) -Codechange: Allow raising and enabling/disabling of widgets even if they are not used.
|
2009-07-20 18:39:38 +00:00 |
|
alberth
|
543b86307f
|
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
|
2009-07-18 10:46:55 +00:00 |
|
alberth
|
62fc8bd6c5
|
(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.
|
2009-07-15 22:51:37 +00:00 |
|
alberth
|
4969d387d3
|
(svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window.
|
2009-07-14 21:25:32 +00:00 |
|
alberth
|
95ac767add
|
(svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations.
|
2009-07-12 12:19:41 +00:00 |
|
yexo
|
a656094395
|
(svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button
|
2009-07-10 20:48:08 +00:00 |
|
alberth
|
b417938f74
|
(svn r16778) -Codechange: Split window initialization in a data part and a size/position part.
|
2009-07-09 19:52:47 +00:00 |
|
alberth
|
43ee12137b
|
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
|
2009-07-04 15:35:36 +00:00 |
|
alberth
|
b441e00ce7
|
(svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant.
|
2009-07-02 21:18:22 +00:00 |
|
alberth
|
2509f55d87
|
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
|
2009-06-28 22:23:26 +00:00 |
|
alberth
|
194701b27a
|
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
|
2009-06-28 20:09:40 +00:00 |
|
alberth
|
ae9cd9b700
|
(svn r16684) -Codechange: Add maxdim function for Dimension struct.
|
2009-06-28 15:16:57 +00:00 |
|
alberth
|
e47ca002d2
|
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
|
2009-06-04 14:34:38 +00:00 |
|
alberth
|
cbf2d24ebb
|
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
|
2009-06-04 14:07:05 +00:00 |
|
alberth
|
ed0a0a681a
|
(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.
|
2009-06-03 21:13:13 +00:00 |
|
alberth
|
bb075195b9
|
(svn r16513) -Codechange: Add nested widgets root and array to Window, and NWidgetBase::FillNestedArray() to fill the array.
|
2009-06-03 20:00:33 +00:00 |
|
alberth
|
3e78641156
|
(svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks to Smatz).
|
2009-05-30 12:41:53 +00:00 |
|
alberth
|
c9e3d041fb
|
(svn r16466) -Codechange: Improved wording in comments.
|
2009-05-30 11:42:19 +00:00 |
|
alberth
|
b96e1dc80c
|
(svn r16465) -Codechange: Eliminated GetGloballyFocusedWidget(), it was used only once.
|
2009-05-30 11:30:25 +00:00 |
|
alberth
|
feaaf78a63
|
(svn r16463) -Cleanup: Code style fixes.
|
2009-05-30 11:01:05 +00:00 |
|
alberth
|
b46d9079ce
|
(svn r16317) -Codechange: Generalized finding a widget by type.
|
2009-05-16 11:25:19 +00:00 |
|
alberth
|
bbd546b792
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
2009-03-29 09:49:11 +00:00 |
|
yexo
|
5fa59bab6f
|
(svn r15867) -Codechange: remove the assumption that the first widgets are the close box/title bar.
Most work already done by r15756.
|
2009-03-28 02:46:10 +00:00 |
|
alberth
|
4ac600e2cf
|
(svn r15819) -Add: Nested widgets framework
|
2009-03-22 21:15:45 +00:00 |
|
rubidium
|
1ba5811024
|
(svn r15760) -Codechange [FS#2704]: support that the resize box is at the left side of the window too (based on work by Alberth)
|
2009-03-18 01:06:48 +00:00 |
|
rubidium
|
7f468dc142
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
2009-03-15 15:12:06 +00:00 |
|
belugas
|
ef4476d92d
|
(svn r15627) -Documentation: Add two Doxygen strings (Alberth).
|
2009-03-06 03:01:35 +00:00 |
|
smatz
|
af90d021f4
|
(svn r15509) -Codechange: move definition of some Window methods to class definition
|
2009-02-17 12:41:29 +00:00 |
|
rubidium
|
89e1afdaa0
|
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
|
2009-02-09 02:57:15 +00:00 |
|
rubidium
|
c7f3daacbf
|
(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
|
5080feba0d
|
(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
|
66cb1fe1ff
|
(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
|
42fe0b65d2
|
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
|
2009-02-04 16:59:41 +00:00 |
|
rubidium
|
d29dc478dd
|
(svn r14918) -Cleanup: remove unused constant.
|
2009-01-08 16:33:41 +00:00 |
|
rubidium
|
7b4fba0f89
|
(svn r14905) -Fix (r14899): in some corner cases already freed memory could be read.
|
2009-01-07 18:59:46 +00:00 |
|
rubidium
|
567b262901
|
(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
|
aa6c7e8574
|
(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
|
72d89337ee
|
(svn r14804) -Codechange: unify opening the OSK (Zuu)
|
2009-01-03 13:59:05 +00:00 |
|
rubidium
|
94a5f66427
|
(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
|
e7bb5c63a4
|
(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
|
e589c7e580
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
2008-09-30 20:51:04 +00:00 |
|
rubidium
|
f56e630e5c
|
(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
|
a000de8418
|
(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
|
9246ff28ac
|
(svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks.
|
2008-09-23 19:25:00 +00:00 |
|
rubidium
|
f49d5057ee
|
(svn r14390) -Codechange: replace magic constants with symbolic constants.
|
2008-09-23 15:24:15 +00:00 |
|
peter1138
|
d5c80dfb8e
|
(svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets.
|
2008-08-03 17:35:08 +00:00 |
|
frosch
|
196268b7ff
|
(svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window.
|
2008-08-02 11:26:25 +00:00 |
|
rubidium
|
019a519446
|
(svn r13910) -Document: string drawing related functions and types (Alberth)
|
2008-08-01 09:34:34 +00:00 |
|
rubidium
|
6ecfaa5c84
|
(svn r13732) -Feature: add a few extra columns with information to the server list. Patch by Pegasus.
|
2008-07-18 20:44:35 +00:00 |
|
rubidium
|
4151d68480
|
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
|
2008-05-29 11:13:11 +00:00 |
|
rubidium
|
3716f4814d
|
(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 |
|
frosch
|
9da2cd6e02
|
(svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows.
|
2008-05-24 11:19:30 +00:00 |
|
rubidium
|
162e2e074b
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
2008-05-19 09:48:47 +00:00 |
|
rubidium
|
a21d3fc63b
|
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
|
2008-05-18 20:40:30 +00:00 |
|
rubidium
|
4d5b9e38d6
|
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
|
2008-05-18 12:40:38 +00:00 |
|
rubidium
|
d284ba2283
|
(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
|
ac8f0fdc7b
|
(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
|
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
|
7f6ccdc624
|
(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 |
|
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
|
0b61b6c1d0
|
(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
|
439b328f41
|
(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
|
31ab1e815a
|
(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
|
bcdd9fcfe4
|
(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 |
|
rubidium
|
89a60ce249
|
(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
|
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
|
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
|
f710876037
|
(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
|
8d0a7f4634
|
(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
|
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
|
0c30e46c9c
|
(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
|
92aac531c2
|
(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
|
c28ce39e3c
|
(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 |
|