alberth
|
ef353f69ca
|
(svn r19908) -Codechange: Use a boolean value to assign to a boolean variable.
|
2010-05-30 12:40:40 +00:00 |
alberth
|
cf060d16ec
|
(svn r19906) -Codechange: HandleMouseOver() never ends, so don't return an event handling state.
|
2010-05-30 12:18:49 +00:00 |
alberth
|
ce0e1cbb3f
|
(svn r19905) -Codechange: Use EventState for mouse handling routines.
|
2010-05-30 12:15:28 +00:00 |
alberth
|
113f3ef0eb
|
(svn r19904) -Codechange: Make EventState usable outside Window context.
|
2010-05-30 12:06:18 +00:00 |
alberth
|
fc82d9cd77
|
(svn r19903) -Codechange: Use SpecialMouseMode enum as type of _special_mouse_mode.
|
2010-05-30 10:36:32 +00:00 |
alberth
|
ae560aeb8b
|
(svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr).
|
2010-05-23 14:53:39 +00:00 |
frosch
|
68c1213efa
|
(svn r19746) -Fix [FS#3675]: Do not recenter usually centered windows when resizing main window or changing language, if they have been moved/resized before.
|
2010-05-01 15:32:17 +00:00 |
frosch
|
7b30f34ecf
|
(svn r19731) -Add: Spritepicker to sprite alignment tool.
|
2010-04-26 20:35:27 +00:00 |
rubidium
|
e75e2648fc
|
(svn r19706) -Add: support for the (NewGRF) debug box
|
2010-04-24 13:27:22 +00:00 |
rubidium
|
bd629ad7c0
|
(svn r19563) -Fix [FS#3733] (r19558): OnResize wasn't called often enough so scrollbars were in some cases not properly updated causing division by zero
|
2010-04-04 20:47:51 +00:00 |
alberth
|
6934e6fe7d
|
(svn r19558) -Fix [FS#3730]: Window::OnResize() was not always called while resizing a window.
|
2010-04-04 11:21:56 +00:00 |
rubidium
|
14d28c5e69
|
(svn r19250) -Fix [FS#3643]: with RTL languages clicking a horizontal scrollbar that could not scroll could cause a crash
|
2010-02-25 14:53:22 +00:00 |
rubidium
|
249acc9e4f
|
(svn r19089) -Codechange: some minor coding style
|
2010-02-10 20:53:23 +00:00 |
rubidium
|
36298c1454
|
(svn r19002) -Fix [FS#1140]: [OSX] Problems with scrolling touchpad (Peter Thorson). I can/have not test(ed) it, it cannot break non OSX builds.
|
2010-02-04 14:21:20 +00:00 |
frosch
|
88019e64e1
|
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
|
2010-01-30 18:34:48 +00:00 |
peter1138
|
08a24fcc31
|
(svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves.
|
2010-01-28 02:31:37 +00:00 |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
frosch
|
70f96a3dbf
|
(svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast.
|
2010-01-06 20:17:46 +00:00 |
rubidium
|
de3cff9e1a
|
(svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window
|
2009-12-31 18:11:03 +00:00 |
rubidium
|
2bb5e2de29
|
(svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game
|
2009-12-23 22:41:47 +00:00 |
alberth
|
b30e56850c
|
(svn r18607) -Fix (r18583): Preserve window width when shading.
|
2009-12-22 20:53:28 +00:00 |
alberth
|
3323d64f28
|
(svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes.
|
2009-12-22 20:43:25 +00:00 |
alberth
|
f55c3312b3
|
(svn r18587) -Codechange: Insert a shade selection widget in the widget tree when the window starts with a title bar with a shade box.
|
2009-12-21 16:16:40 +00:00 |
alberth
|
ca66652005
|
(svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp).
|
2009-12-21 16:06:20 +00:00 |
rubidium
|
c03aadda08
|
(svn r18582) -Codechange: save 8 bytes from the Window class
|
2009-12-20 20:49:47 +00:00 |
alberth
|
5a083f183e
|
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
|
2009-12-20 20:08:39 +00:00 |
alberth
|
20debea202
|
(svn r18579) -Codechange: Add orientation to scrollbars.
|
2009-12-20 20:04:30 +00:00 |
alberth
|
5187a5980b
|
(svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead.
|
2009-11-29 21:14:34 +00:00 |
alberth
|
01d4eba140
|
(svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking.
|
2009-11-29 10:56:51 +00:00 |
alberth
|
45327a588b
|
(svn r18334) -Codechange: No need to test a pointer after using it.
|
2009-11-29 09:18:49 +00:00 |
rubidium
|
5d38d06313
|
(svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be displayed fully. Fix by erikjanp.
|
2009-11-29 00:41:08 +00:00 |
rubidium
|
293dfd7c3e
|
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
|
2009-11-28 14:42:35 +00:00 |
rubidium
|
b58b058e2b
|
(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that
|
2009-11-28 14:36:43 +00:00 |
rubidium
|
6a367fda8a
|
(svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc.
|
2009-11-28 14:30:00 +00:00 |
rubidium
|
8371be352b
|
(svn r18273) -Codechange: do not require widget numbers for default widgets (close, sticky, resize buttons and the caption), except when you want to use SetStringParameter for the caption ofcourse. Also remove the requirement for some of the WDF flags; no need to test for both the flag whether a feature is used and whether the feature is in action.
|
2009-11-24 17:13:24 +00:00 |
rubidium
|
5c6cf4f8d2
|
(svn r18206) -Fix [FS#3322]: on could 'pan' on the viewports of other windows, like the industry view, too
|
2009-11-21 16:02:05 +00:00 |
alberth
|
777d5ce12e
|
(svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays.
|
2009-11-20 20:10:06 +00:00 |
rubidium
|
5f2ddfbc5a
|
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
|
2009-11-17 19:16:48 +00:00 |
rubidium
|
abe1c6f3c7
|
(svn r18150) -Codechange: make the horizontal scrollbar scroll in the opposite direction with RTL
|
2009-11-17 18:45:57 +00:00 |
rubidium
|
e438fc6a80
|
(svn r18130) -Codechange: initial steps into making the vehicle/group lists big font and RTL aware
|
2009-11-16 21:28:12 +00:00 |
rubidium
|
179b924173
|
(svn r18120) -Fix (r18119): sometimes ReInit didn't dirty the new window
|
2009-11-16 17:01:25 +00:00 |
rubidium
|
e7dd53dffc
|
(svn r18119) -Codechange/Fix: always call OnResize so the matrices/scrollbars are initialised without the need for duplicating the OnResize code
|
2009-11-16 16:42:04 +00:00 |
rubidium
|
f6ec2fa5b9
|
(svn r18095) -Fix (r18093): a bit too much nested_array != NULL removal
|
2009-11-15 14:07:23 +00:00 |
rubidium
|
5fe405bad1
|
(svn r18093) -Fix: the mouseover handler could crash if there wasn't a widget under the mouse
|
2009-11-15 13:50:49 +00:00 |
rubidium
|
aeb9f8e715
|
(svn r18092) -Codechange: remove support for the unnested widgets
|
2009-11-15 13:36:30 +00:00 |
alberth
|
8415a2238f
|
(svn r18090) -Fix: Only allow raising of WWT_* nested widgets.
|
2009-11-15 13:08:50 +00:00 |
rubidium
|
884561f431
|
(svn r18088) -Codechange: remove CompareWidgetArrays
|
2009-11-15 10:38:04 +00:00 |
rubidium
|
3d2d7af88f
|
(svn r18086) -Codechange: remove 'widget' from WindowDesc
|
2009-11-15 10:26:01 +00:00 |
alberth
|
94261ad01a
|
(svn r18069) -Codechange: Initialize window flags at the same tme as the other fields instead of afterwards.
|
2009-11-14 09:58:52 +00:00 |
rubidium
|
cbf4b80b86
|
(svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when right-click-dragging
|
2009-11-09 16:05:24 +00:00 |
alberth
|
a2e6035f16
|
(svn r18013) -Codechange: Add possibility to change window size during ReInit().
|
2009-11-08 15:22:04 +00:00 |
rubidium
|
618621e851
|
(svn r18003) -Cleanup: prune some unused functions from Window
|
2009-11-07 22:29:17 +00:00 |
alberth
|
0bc03c25f4
|
(svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view.
|
2009-11-07 17:24:04 +00:00 |
alberth
|
b500170ac2
|
(svn r17995) -Codechange: PreventHiding() is used in one file, make it static.
|
2009-11-07 15:49:36 +00:00 |
rubidium
|
4a970202a9
|
(svn r17947) -Codechange: make the statusbar, chat input and news window know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used
|
2009-11-02 10:15:48 +00:00 |
rubidium
|
86fd0c0bce
|
(svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected
|
2009-10-31 14:53:19 +00:00 |
alberth
|
82e21df3a4
|
(svn r17915) -Codechange: Allow windows to compute their own initial position.
|
2009-10-31 11:34:43 +00:00 |
smatz
|
a558159faa
|
(svn r17869) -Codechange: don't create OnScroll() event for zero delta
|
2009-10-25 17:01:45 +00:00 |
rubidium
|
ca0521f89f
|
(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
|
2009-10-24 14:53:55 +00:00 |
frosch
|
21fdc65ce4
|
(svn r17830) -Fix [FS#3276]: Some windows already need their window_number when setting up smallest size (e.g. for DParams). So assign it earlier in Window::InitializeData instead of dealing with each window separately.
|
2009-10-20 21:25:25 +00:00 |
rubidium
|
66721ffd36
|
(svn r17751) -Fix [FS#3253]: sometimes clicking on a for the user unfocused edit box would show the OSK (Zuu)
|
2009-10-10 12:11:05 +00:00 |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
rubidium
|
e9624fe0cc
|
(svn r17682) -Codechange: remove erroneous space before some commas
|
2009-10-02 15:13:15 +00:00 |
rubidium
|
0032405093
|
(svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class
|
2009-09-30 21:00:35 +00:00 |
alberth
|
116c77c342
|
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
|
2009-09-19 11:31:12 +00:00 |
rubidium
|
e8ddf001c8
|
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
|
2009-09-19 09:51:14 +00:00 |
frosch
|
ebd916be3d
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
2009-09-13 19:15:59 +00:00 |
frosch
|
734edc178d
|
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
|
2009-09-13 17:37:47 +00:00 |
alberth
|
afe190a216
|
(svn r17504) -Codechange: un-inlining SetFocusedWidget() as it is not often used.
|
2009-09-11 19:12:05 +00:00 |
rubidium
|
5cb22df0f5
|
(svn r17375) -Codechange: remove last direct usage of scrollbar variables
|
2009-09-02 08:58:20 +00:00 |
rubidium
|
900aedf270
|
(svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers
|
2009-09-02 08:48:29 +00:00 |
rubidium
|
b06e026f97
|
(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 |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
alberth
|
e6a1da11a3
|
(svn r17175) -Codechange: Only auto-raise push buttons.
|
2009-08-14 21:27:08 +00:00 |
smatz
|
c5533ae470
|
(svn r17168) -Codechange: apply coding style to if and while statements
|
2009-08-14 17:11:59 +00:00 |
frosch
|
52f9b8ffbd
|
(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them.
|
2009-08-10 20:06:39 +00:00 |
alberth
|
6a1af7f74f
|
(svn r17024) -Codechange: Allow InitNested to be done in two parts.
|
2009-08-01 15:49:18 +00:00 |
alberth
|
9856cc9d0a
|
(svn r16963) -Codechange: Added NWidgetViewport widget.
|
2009-07-26 17:29:01 +00:00 |
frosch
|
55e07d0606
|
(svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window.
|
2009-07-25 15:58:48 +00:00 |
alberth
|
8083d67780
|
(svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently.
|
2009-07-21 22:25:21 +00:00 |
alberth
|
1978c7dc87
|
(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
|
b6889daf8d
|
(svn r16848) -Fix: Trying to reduce a nested widget window further than the smallest alowed size should not crash the game.
|
2009-07-16 18:31:33 +00:00 |
alberth
|
9be387761c
|
(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.
|
2009-07-15 22:51:37 +00:00 |
rubidium
|
463b96a746
|
(svn r16815) -Fix: reduce the toolbar's priority for handling keypresses from most important to least important, so e.g. the order windows' 'd' skips to the next order
|
2009-07-13 16:41:34 +00:00 |
alberth
|
9efd32d13c
|
(svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations.
|
2009-07-12 12:19:41 +00:00 |
alberth
|
1d8e4a48b4
|
(svn r16779) -Fix: Take real smallest size of nested widgets into account for initial window position.
|
2009-07-09 19:57:33 +00:00 |
alberth
|
7f851505f9
|
(svn r16778) -Codechange: Split window initialization in a data part and a size/position part.
|
2009-07-09 19:52:47 +00:00 |
alberth
|
e1a26058e9
|
(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.
|
2009-07-05 14:26:29 +00:00 |
alberth
|
d65c6cae54
|
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
|
2009-07-04 15:35:36 +00:00 |
alberth
|
058bb5d6c3
|
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
|
2009-06-28 20:09:40 +00:00 |
alberth
|
ec5db12adc
|
(svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar.
|
2009-06-05 07:25:26 +00:00 |
alberth
|
19ccf6912c
|
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
|
2009-06-04 14:34:38 +00:00 |
alberth
|
b144a5451c
|
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
|
2009-06-04 14:07:05 +00:00 |
alberth
|
1a4934ef07
|
(svn r16515) -Codechange: Added scrollbar handling for nested widgets, and finding widgets by type or position in the tree.
|
2009-06-04 12:46:37 +00:00 |
alberth
|
5c9071fcff
|
(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.
|
2009-06-03 21:13:13 +00:00 |
alberth
|
1ba3755aa7
|
(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
|
333795bc70
|
(svn r16495) -Codechange: Renamed a few variables.
|
2009-06-01 13:28:05 +00:00 |
alberth
|
bab70a823d
|
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
|
2009-06-01 11:43:36 +00:00 |
alberth
|
6c126cc5c8
|
(svn r16484) -Cleanup: Renamed widget variable to widget_index and introduced widget_type variable.
-Fix: Prevented out-of-bounds array access when not clicking at a widget.
|
2009-05-31 14:30:58 +00:00 |
alberth
|
101a6b3320
|
(svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks to Smatz).
|
2009-05-30 12:41:53 +00:00 |