Commit Graph

435 Commits (f3a0aace0c98f80d9fdea129fbe3abe26ad3f85b)

Author SHA1 Message Date
frosch d7ed7264e2 (svn r24744) -Codechange: Handle clicking on editboxed also via QueryString. 12 years ago
frosch 7b3d6cc31f (svn r24743) -Change: Unify the behaviour of ESC in filter editboxes. 12 years ago
frosch 18dcd2e6a4 (svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead. 12 years ago
frosch 2ccba5e6c5 (svn r24735) -Codechange: Move HandleEditBoxKey to Window class. 12 years ago
frosch 08e92e6f23 (svn r24733) -Codechange: Move handling of editbox keys to window class. 12 years ago
frosch c6ac0299a8 (svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members. 12 years ago
frosch e0f59fb049 (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. 12 years ago
frosch 3b06409153 (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 12 years ago
frosch ac99094c91 (svn r24590) -Feature: More options for the auto-scroll setting. (adf88) 12 years ago
frosch d3bda73b4a (svn r24589) -Codechange: Return early in HandleAutoscroll() instead of nesting ifs. 12 years ago
frosch 2626d7ac7c (svn r24307) -Codechange: Move all interaction of the dropdown window with widgets of the parent window to a method of the parent window. 12 years ago
frosch 2c922d2e39 (svn r24214) -Fix [FS#5159] (r22794): The confirmation window to abort world generation was hidden during world generation, so actually you could not abort it. 12 years ago
michi_cc 72b3bb9dd5 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 12 years ago
frosch 7ac05227dd (svn r24089) -Fix [FS#5136]: Conflicting strategies for resizing the main toolbar and statusbar after resizing the main window. 12 years ago
rubidium 6256d64553 (svn r23932) -Codechange: split the NewGRF text window into its own source files 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
frosch b930e3c866 (svn r23722) -Change: Give the chat query window the same Z priority as the normal text query window. 13 years ago
alberth 06597e684c (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
rubidium b1e95c9bd7 (svn r23690) -Fix: massive typo ;) 13 years ago
rubidium ca7507e0a9 (svn r23642) -Fix [FS#4893]: OSK window got hidden by query window 13 years ago
truebrain 867b263900 (svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only) 13 years ago
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
13 years ago
frosch 1d5c43b154 (svn r23517) -Fix (r23336, etc.): Give map generation window the same priority as the start server window. 13 years ago
rubidium 56f37d9386 (svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors 13 years ago
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 13 years ago
rubidium 8576d825c7 (svn r23429) -Fix [FS#4842]: prevent windows to be resized beyond the bounds of the (main) window 13 years ago
alberth 7e02f9072b (svn r23426) -Change [FS#4685] (r23423): Put currency window above game options. 13 years ago
alberth 41730e91bf (svn r23423) -Revert (r23421): NewGRF windows may not be moved to normal priority. 13 years ago
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. 13 years ago
michi_cc b68ced52c4 (svn r23410) -Add: A window with a detailed overview over the infrastructure of a company. 13 years ago
planetmaker 5665252eff (svn r23400) -Fix (r23393, r23382): Text query window was hidden in numerous cases 13 years ago
yexo 523d781cbc (svn r23393) -Fix (r23382): AI / NewGRF sub-windows were now hidden under their parent windows 13 years ago
yexo 40437f7e16 (svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window 13 years ago
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) 13 years ago
rubidium 4509f814b3 (svn r23244) -Feature: if the installation is ananas, try to get the b without b installed 13 years ago
peter1138 cacf7ecf2b (svn r23017) -Codechange: Add support for resized scrollbars. 13 years ago
rubidium a800080068 (svn r22803) -Fix (r22796): clicking should not work either when hiding windows 13 years ago
rubidium 6cc959b344 (svn r22794) -Codechange: let window drawing determine which windows may be drawn when a modal progress is busy 13 years ago
rubidium 1ca06f2aae (svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h 13 years ago
rubidium 727580274b (svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress 13 years ago
frosch da43dd69a4 (svn r22485) -Fix: EnsureVisibleCaption() did not update viewport positions of windows with viewports but without caption. (only triggerable since r22484) 13 years ago
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. 13 years ago
rubidium 9a466d0e04 (svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups 13 years ago
frosch bac3db14d2 (svn r22294) -Fix (r20922)[FS#4571]: Reset Window::scrolling_scrollbar when raising scrollbar buttons. 13 years ago
frosch 335744a1af (svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope. 14 years ago
frosch 9816d168c9 (svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls. 14 years ago
frosch 04f56cf6ed (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 14 years ago
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. 14 years ago
terkhen c4104567a1 (svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar. 14 years ago
frosch 291ef7e082 (svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings. 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
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 14 years ago
alberth 7300014322 (svn r21822) -Codechange: Merge event handling code. 14 years ago
alberth 0c1dd3cbc6 (svn r21821) -Codechange: Clean up the jump conditions. 14 years ago
alberth 4686422978 (svn r21820) -Codechange: Concatenate both functions. 14 years ago
alberth 7045458003 (svn r21819) -Codechange: Swap order of HandleMouseDrag() and HandleDragDrop(), and split the w vardecl in the former. 14 years ago
alberth 14fa773093 (svn r21760) -Fix (r20452): Restore wheeling of vertical scrollbars. 14 years ago
alberth a1049fbe66 (svn r21667) -Codechange: Introduce _thd.Reset(). 14 years ago
alberth fdf0be0da8 (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 14 years ago
smatz 76a57e9766 (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE 14 years ago
alberth d9d3da8fdb (svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode. 14 years ago
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 14 years ago
rubidium 004b2b6001 (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 14 years ago
rubidium 97623b6fc1 (svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor 14 years ago
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 14 years ago
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 14 years ago
rubidium 9bdf6a36f4 (svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable? 14 years ago
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
rubidium bb07520982 (svn r21057) -Fix [FS#4182] (r20922): network client "fast forward" incrementing counter multiple times in same "GUI" tick causing an invalid state 14 years ago
glx 828ae03331 (svn r21015) -Fix [FS#4176]: don't let the resize button go past the bottom of the screen 14 years ago
rubidium bff710650f (svn r20922) -Fix [FS#4071]: accidentally moving the mouse of the scrollbar arrows while pressing it clicks the button next to the arrow 14 years ago
yexo c53116e885 (svn r20820) -Codechange: remove two more contants related to the height of the main toolbar 14 years ago
yexo fee8c84de9 (svn r20807) -Codechange: don't clamp the width of the main toolbar to 640 pixels 14 years ago
smatz d9cca2ae1d (svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active 14 years ago
smatz 63b8fea69f (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 14 years ago
yexo faccfb921d (svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible 14 years ago
yexo a6523649a8 (svn r20697) -Fix [FS#4084]: call the new function after resizing a window so it's not possible a window becomes unmoveable 14 years ago
yexo b17319a02f (svn r20696) -Codechange: create a new function to make sure part of the caption bar is visible when creating a window 14 years ago
yexo 9fd6adf6a9 (svn r20695) -Codechange: move PreventHiding to another location 14 years ago
alberth 2b4da1d345 (svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file. 14 years ago
rubidium 8c2b418749 (svn r20577) -Fix [FS#4043]: scroll button flickering when pressed 14 years ago
terkhen 0d68b98482 (svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window. 14 years ago
rubidium 55427e4062 (svn r20509) -Change: don't cycle (quickly) through the shade states. Just make scrolling up shade the window and scrolling down unshade it. (avdg) 14 years ago
frosch ba8d961664 (svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked. 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch 984e555cb4 (svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead. 14 years ago
frosch b98eba0fb2 (svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead. 14 years ago
frosch 92c34da796 (svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp 14 years ago
frosch 807370d4b8 (svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE and instead store the widget index of the being scrolled scrollbar in the Window. 14 years ago
frosch e41130db84 (svn r20456) -Codechange: Add separate nested widget class for scrollbars. 14 years ago
frosch 4817d5dcd6 (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.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
frosch d2cd93fee2 (svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget. 14 years ago
terkhen 04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth 603c33efc1 (svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals. 14 years ago
alberth 1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago