rubidium
440b63da33
(svn r23690) -Fix: massive typo ;)
2011-12-31 10:08:18 +00:00
rubidium
dbb85e5cc1
(svn r23642) -Fix [FS#4893]: OSK window got hidden by query window
2011-12-20 19:48:33 +00:00
truebrain
403cd3acdb
(svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only)
2011-12-19 21:05:14 +00:00
truebrain
df0afdf0dc
(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
...
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
2011-12-15 19:54:23 +00:00
frosch
66d1848f5e
(svn r23517) -Fix (r23336, etc.): Give map generation window the same priority as the start server window.
2011-12-14 20:47:33 +00:00
rubidium
2bf0fc3c5c
(svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors
2011-12-10 15:16:58 +00:00
rubidium
6153dc57f5
(svn r23466) -Fix [FS#4871, FS#4874]: assertion triggered when resizing a window during ReInit by an amount that's not a multiple of the resize interval
2011-12-09 22:07:00 +00:00
rubidium
8b5d315d2a
(svn r23429) -Fix [FS#4842]: prevent windows to be resized beyond the bounds of the (main) window
2011-12-04 14:00:23 +00:00
alberth
40186486de
(svn r23426) -Change [FS#4685] (r23423): Put currency window above game options.
2011-12-04 12:11:27 +00:00
alberth
2cf284154c
(svn r23423) -Revert (r23421): NewGRF windows may not be moved to normal priority.
2011-12-04 11:58:56 +00:00
alberth
87fdac852c
(svn r23421) -Fix [FS#4865, FS#4861] (r23393): The priority of WC_GAME_OPTIONS windows were too high, causing hiding of currency window as well.
2011-12-04 10:52:08 +00:00
michi_cc
6083d6ffb4
(svn r23410) -Add: A window with a detailed overview over the infrastructure of a company.
2011-12-03 23:40:08 +00:00
planetmaker
c5ed9bd4f5
(svn r23400) -Fix (r23393, r23382): Text query window was hidden in numerous cases
2011-12-03 14:45:02 +00:00
yexo
fa930b15c7
(svn r23393) -Fix (r23382): AI / NewGRF sub-windows were now hidden under their parent windows
2011-12-02 11:48:54 +00:00
yexo
71c1ef5d26
(svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window
2011-12-01 11:57:25 +00:00
rubidium
435b5a08c4
(svn r23336) -Fix [FS#4709]: bring some more order in the ordering of the windows, e.g. don't let a save or load dialog get hidden by a new message (monoid)
2011-11-26 16:09:25 +00:00
rubidium
02b884d923
(svn r23244) -Feature: if the installation is ananas, try to get the b without b installed
2011-11-17 21:17:17 +00:00
peter1138
50d1541270
(svn r23017) -Codechange: Add support for resized scrollbars.
2011-10-11 08:07:47 +00:00
rubidium
81e352b4b6
(svn r22803) -Fix (r22796): clicking should not work either when hiding windows
2011-08-21 16:48:31 +00:00
rubidium
d1657fae80
(svn r22794) -Codechange: let window drawing determine which windows may be drawn when a modal progress is busy
2011-08-21 12:51:52 +00:00
rubidium
421053a694
(svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h
2011-08-21 12:48:46 +00:00
rubidium
37415b9cf7
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
2011-08-21 12:46:46 +00:00
frosch
1f79304125
(svn r22485) -Fix: EnsureVisibleCaption() did not update viewport positions of windows with viewports but without caption. (only triggerable since r22484)
2011-05-21 22:23:13 +00:00
frosch
351c7ab097
(svn r22484) -Fix: The caption of centered windows could be moved out of the main window and thus become inaccessible when resizing the main window.
2011-05-21 22:22:02 +00:00
rubidium
835ae31f45
(svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups
2011-04-22 15:50:13 +00:00
frosch
3d2f454167
(svn r22294) -Fix (r20922)[FS#4571]: Reset Window::scrolling_scrollbar when raising scrollbar buttons.
2011-04-03 17:00:57 +00:00
frosch
51ddbbb13d
(svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope.
2011-03-13 21:32:13 +00:00
frosch
b997ebb942
(svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls.
2011-03-08 19:43:38 +00:00
frosch
f34e9ff074
(svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth)
2011-02-24 21:48:06 +00:00
frosch
19b7249ade
(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
2011-02-23 20:54:55 +00:00
terkhen
8196b03074
(svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar.
2011-02-11 18:24:12 +00:00
frosch
9e1695aa1e
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
2011-02-05 16:36:37 +00:00
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
rubidium
22d17aa745
(svn r21837) -Fix [FS#4419]: LMB dragging would switch over to other viewports instead of staying locked to the viewport you started on
2011-01-18 21:08:19 +00:00
alberth
32cd182ecc
(svn r21822) -Codechange: Merge event handling code.
2011-01-16 11:40:36 +00:00
alberth
4a203e8a49
(svn r21821) -Codechange: Clean up the jump conditions.
2011-01-16 11:39:57 +00:00
alberth
1e7c3fd2ff
(svn r21820) -Codechange: Concatenate both functions.
2011-01-16 11:39:09 +00:00
alberth
a2297dc594
(svn r21819) -Codechange: Swap order of HandleMouseDrag() and HandleDragDrop(), and split the w vardecl in the former.
2011-01-16 11:37:54 +00:00
alberth
352fd000ea
(svn r21760) -Fix (r20452): Restore wheeling of vertical scrollbars.
2011-01-09 15:36:02 +00:00
alberth
661e13a86a
(svn r21667) -Codechange: Introduce _thd.Reset().
2010-12-30 15:32:31 +00:00
alberth
22a13850cb
(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.
2010-12-30 13:16:31 +00:00
smatz
b5268dccbd
(svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE
2010-12-25 12:47:05 +00:00
alberth
e930b9985d
(svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode.
2010-12-24 14:52:42 +00:00
rubidium
90e247c84d
(svn r21480) -Change [FS#4292]: make it possible to start actions that require selecting stuff (landscaping, vehicle cloning, etc) in the viewport while paused. As side-effect you'll get an error message explaining the command can't be executed because the game is paused instead of seemingly nothing happening when you click. Addition side effect of this is that you can make use of the measurement tooltip while paused
2010-12-12 15:20:54 +00:00
rubidium
a029b2b83a
(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
2010-12-12 14:14:26 +00:00
rubidium
5dbd80ff3c
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
2010-12-07 21:13:00 +00:00
rubidium
49162ab39b
(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting
2010-12-07 21:09:30 +00:00
rubidium
16c90ed48b
(svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead
2010-11-18 19:24:40 +00:00
rubidium
a9da53c106
(svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable?
2010-11-13 23:40:36 +00:00
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
2010-10-30 17:51:07 +00:00
rubidium
0baf335be3
(svn r21057) -Fix [FS#4182] (r20922): network client "fast forward" incrementing counter multiple times in same "GUI" tick causing an invalid state
2010-10-29 19:35:43 +00:00
glx
3a6892ba10
(svn r21015) -Fix [FS#4176]: don't let the resize button go past the bottom of the screen
2010-10-23 17:37:54 +00:00
rubidium
951b725b8c
(svn r20922) -Fix [FS#4071]: accidentally moving the mouse of the scrollbar arrows while pressing it clicks the button next to the arrow
2010-10-15 11:16:14 +00:00
yexo
6b35ad3f0b
(svn r20820) -Codechange: remove two more contants related to the height of the main toolbar
2010-09-17 06:12:53 +00:00
yexo
532003504e
(svn r20807) -Codechange: don't clamp the width of the main toolbar to 640 pixels
2010-09-15 21:10:14 +00:00
smatz
a282c3ab57
(svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active
2010-09-07 11:00:42 +00:00
smatz
fd54943c7a
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
2010-09-06 14:14:09 +00:00
yexo
0068c02244
(svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible
2010-08-31 12:18:28 +00:00
yexo
6eb3ef7bc3
(svn r20697) -Fix [FS#4084]: call the new function after resizing a window so it's not possible a window becomes unmoveable
2010-08-30 14:52:28 +00:00
yexo
47494b2744
(svn r20696) -Codechange: create a new function to make sure part of the caption bar is visible when creating a window
2010-08-30 14:51:11 +00:00
yexo
6446a928dc
(svn r20695) -Codechange: move PreventHiding to another location
2010-08-30 14:50:42 +00:00
alberth
9f5a96ead2
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
2010-08-29 15:58:43 +00:00
rubidium
3e3cd47222
(svn r20577) -Fix [FS#4043]: scroll button flickering when pressed
2010-08-20 11:55:10 +00:00
terkhen
cfc0df152b
(svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window.
2010-08-19 08:22:08 +00:00
rubidium
12b8822277
(svn r20509) -Change: don't cycle (quickly) through the shade states. Just make scrolling up shade the window and scrolling down unshade it. (avdg)
2010-08-15 23:42:36 +00:00
frosch
d496ec65b9
(svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked.
2010-08-12 16:44:51 +00:00
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
b37be47f16
(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead.
2010-08-12 09:14:34 +00:00
frosch
6e9c9c28d9
(svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead.
2010-08-12 09:13:04 +00:00
frosch
55bd5de43d
(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp
2010-08-12 09:11:12 +00:00
frosch
57c063250f
(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE and instead store the widget index of the being scrolled scrollbar in the Window.
2010-08-12 09:09:24 +00:00
frosch
66e48dfdce
(svn r20456) -Codechange: Add separate nested widget class for scrollbars.
2010-08-12 09:07:45 +00:00
frosch
71ca58c2bb
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12 08:37:01 +00:00
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
frosch
629b350a71
(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget.
2010-08-12 06:40:28 +00:00
terkhen
80c43f52e8
(svn r20289) -Codechange: Unify fall through coding style.
2010-08-01 20:52:11 +00:00
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
alberth
7aabb887d4
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
2010-07-31 21:43:07 +00:00
alberth
a825b4fa5f
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
2010-07-31 21:02:56 +00:00
alberth
97f85f7bfb
(svn r20222) -Add: Add functions to compute the row in a scrolled widget.
2010-07-26 13:03:40 +00:00
alberth
3a1451644a
(svn r20221) -Codechange: Move unscrolled row calculation into a function.
2010-07-26 13:02:28 +00:00
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
2010-07-19 17:28:27 +00:00
frosch
8439cf2f4c
(svn r20152) -Fix: Silence a gcc warning.
2010-07-14 20:24:45 +00:00
rubidium
0e078670b7
(svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again.
2010-07-14 17:36:27 +00:00
terkhen
fa3d9d04d3
(svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely.
2010-07-14 15:08:31 +00:00
frosch
987417e665
(svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them.
2010-07-11 14:35:53 +00:00
terkhen
9cf9bb9b92
(svn r20121) -Add: OnHover method for windows.
2010-07-11 11:00:09 +00:00
terkhen
10fbb87823
(svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse over a widget instead of by right clicking on it.
2010-07-11 10:58:55 +00:00
terkhen
9aef7b8c3d
(svn r20118) -Add: Detect if the mouse has been hovering over the same point.
2010-07-11 10:53:07 +00:00
terkhen
dd5bf70f20
(svn r20117) -Codechange: Use a Point struct to store double click position.
2010-07-11 10:50:47 +00:00
yexo
26be68ae98
(svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
...
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
2010-07-03 21:43:44 +00:00
frosch
9e53f1e004
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
2010-06-05 13:32:42 +00:00
alberth
2224c9b515
(svn r19910) -Doc: Doxygen additions.
2010-05-30 13:16:51 +00:00
alberth
51e67a40e0
(svn r19909) -Doc: Typo fixes, small doxygen improvements.
2010-05-30 13:05:36 +00:00
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