Commit Graph

415 Commits

Author SHA1 Message Date
truebrain 867b263900 (svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only) 2011-12-19 21:05:14 +00:00
truebrain da63ce43fa (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 1d5c43b154 (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 56f37d9386 (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 330ea6f277 (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 8576d825c7 (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 7e02f9072b (svn r23426) -Change [FS#4685] (r23423): Put currency window above game options. 2011-12-04 12:11:27 +00:00
alberth 41730e91bf (svn r23423) -Revert (r23421): NewGRF windows may not be moved to normal priority. 2011-12-04 11:58:56 +00:00
alberth 6baa785b5f (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 b68ced52c4 (svn r23410) -Add: A window with a detailed overview over the infrastructure of a company. 2011-12-03 23:40:08 +00:00
planetmaker 5665252eff (svn r23400) -Fix (r23393, r23382): Text query window was hidden in numerous cases 2011-12-03 14:45:02 +00:00
yexo 523d781cbc (svn r23393) -Fix (r23382): AI / NewGRF sub-windows were now hidden under their parent windows 2011-12-02 11:48:54 +00:00
yexo 40437f7e16 (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 4cbd3f4c5d (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 4509f814b3 (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 cacf7ecf2b (svn r23017) -Codechange: Add support for resized scrollbars. 2011-10-11 08:07:47 +00:00
rubidium a800080068 (svn r22803) -Fix (r22796): clicking should not work either when hiding windows 2011-08-21 16:48:31 +00:00
rubidium 6cc959b344 (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 1ca06f2aae (svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h 2011-08-21 12:48:46 +00:00
rubidium 727580274b (svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress 2011-08-21 12:46:46 +00:00
frosch da43dd69a4 (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 55041d1c17 (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 9a466d0e04 (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 bac3db14d2 (svn r22294) -Fix (r20922)[FS#4571]: Reset Window::scrolling_scrollbar when raising scrollbar buttons. 2011-04-03 17:00:57 +00:00
frosch 335744a1af (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 9816d168c9 (svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls. 2011-03-08 19:43:38 +00:00
frosch 04f56cf6ed (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 2011-02-24 21:48:06 +00:00
frosch 074548f8f3 (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 c4104567a1 (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 291ef7e082 (svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings. 2011-02-05 16:36:37 +00:00
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium 5e64756152 (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 7300014322 (svn r21822) -Codechange: Merge event handling code. 2011-01-16 11:40:36 +00:00
alberth 0c1dd3cbc6 (svn r21821) -Codechange: Clean up the jump conditions. 2011-01-16 11:39:57 +00:00
alberth 4686422978 (svn r21820) -Codechange: Concatenate both functions. 2011-01-16 11:39:09 +00:00
alberth 7045458003 (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 14fa773093 (svn r21760) -Fix (r20452): Restore wheeling of vertical scrollbars. 2011-01-09 15:36:02 +00:00
alberth a1049fbe66 (svn r21667) -Codechange: Introduce _thd.Reset(). 2010-12-30 15:32:31 +00:00
alberth fdf0be0da8 (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 2010-12-30 13:16:31 +00:00
smatz 76a57e9766 (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE 2010-12-25 12:47:05 +00:00
alberth d9d3da8fdb (svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode. 2010-12-24 14:52:42 +00:00
rubidium c789be8c7c (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 004b2b6001 (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 2010-12-12 14:14:26 +00:00
rubidium 97623b6fc1 (svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor 2010-12-07 21:13:00 +00:00
rubidium 434abd6dea (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 bf6b6b8bc9 (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 9bdf6a36f4 (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 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
rubidium bb07520982 (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