Commit Graph

549 Commits (feb94d233d8fdceff193a4c59298960d8148d470)

Author SHA1 Message Date
frosch 05c472f08a (svn r25295) -Feature: Allow saving window sizes as default sizes. 11 years ago
frosch 4e4e635916 (svn r25294) -Feature: Add another button to window title bars to resize the window to its default size. 11 years ago
frosch ed851034f5 (svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button. 11 years ago
frosch 23ba42b66c (svn r25291) -Add: WindowDesc ability to load and store information in a config file. 11 years ago
frosch 8157a8afd8 (svn r25290) -Add: Assign string names to notable windows. 11 years ago
frosch 8c4714ad90 (svn r25289) -Codechange: Store width of statusbar and main toolbar directly in the WindowDesc. 11 years ago
frosch b6d76c4d4c (svn r25288) -Codechange: No need to copy the WindowDesc flags if the WindowDesc is directly accessible. 11 years ago
frosch 56e4a8c4d6 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 11 years ago
frosch c2c50b0c50 (svn r25092) -Codechange: Deduplicate keyboard handling between console and editboxes. 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
glx 5d74b679e6 (svn r24780) -Fix [FS#5378]: passing an int to a function expecting a byte can have side effects when MSVC optimises it 12 years ago
frosch 5dfd5e58ee (svn r24774) -Fix: Invert the focus handling of the OSK. Keep the focus at the OSK and close it on losing focus. This makes the editbox in the OSK behave correctly. 12 years ago
frosch 155a9d784c (svn r24772) -Codechange: Call Window::OnEditboxChanged only when the content changes, not when only moving the cursor. 12 years ago
frosch 5e8238c75c (svn r24748) -Add: Clear button to all editboxes. 12 years ago
frosch c8c040d057 (svn r24744) -Codechange: Handle clicking on editboxed also via QueryString. 12 years ago
frosch c283a41248 (svn r24743) -Change: Unify the behaviour of ESC in filter editboxes. 12 years ago
frosch f5d8ba5d7f (svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead. 12 years ago
frosch fc2b12acca (svn r24735) -Codechange: Move HandleEditBoxKey to Window class. 12 years ago
frosch c4d7c8dd42 (svn r24733) -Codechange: Move handling of editbox keys to window class. 12 years ago
frosch fd55399167 (svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members. 12 years ago
frosch 137adb3496 (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. 12 years ago
frosch 03736af2ae (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 12 years ago
frosch 72fc771039 (svn r24590) -Feature: More options for the auto-scroll setting. (adf88) 12 years ago
frosch 2abe4ac280 (svn r24589) -Codechange: Return early in HandleAutoscroll() instead of nesting ifs. 12 years ago
frosch 6207a6017f (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 6334e13d12 (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 6a70abbd99 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 12 years ago
frosch 946749fb01 (svn r24089) -Fix [FS#5136]: Conflicting strategies for resizing the main toolbar and statusbar after resizing the main window. 12 years ago
rubidium e8dbcf9043 (svn r23932) -Codechange: split the NewGRF text window into its own source files 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
frosch 4027e58ba3 (svn r23722) -Change: Give the chat query window the same Z priority as the normal text query window. 13 years ago
alberth 4af8c2d5e1 (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
rubidium 440b63da33 (svn r23690) -Fix: massive typo ;) 13 years ago
rubidium dbb85e5cc1 (svn r23642) -Fix [FS#4893]: OSK window got hidden by query window 13 years ago
truebrain 403cd3acdb (svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only) 13 years ago
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
13 years ago
frosch 66d1848f5e (svn r23517) -Fix (r23336, etc.): Give map generation window the same priority as the start server window. 13 years ago
rubidium 2bf0fc3c5c (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 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 13 years ago
rubidium 8b5d315d2a (svn r23429) -Fix [FS#4842]: prevent windows to be resized beyond the bounds of the (main) window 13 years ago
alberth 40186486de (svn r23426) -Change [FS#4685] (r23423): Put currency window above game options. 13 years ago
alberth 2cf284154c (svn r23423) -Revert (r23421): NewGRF windows may not be moved to normal priority. 13 years ago
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. 13 years ago
michi_cc 6083d6ffb4 (svn r23410) -Add: A window with a detailed overview over the infrastructure of a company. 13 years ago
planetmaker c5ed9bd4f5 (svn r23400) -Fix (r23393, r23382): Text query window was hidden in numerous cases 13 years ago
yexo fa930b15c7 (svn r23393) -Fix (r23382): AI / NewGRF sub-windows were now hidden under their parent windows 13 years ago
yexo 71c1ef5d26 (svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window 13 years ago
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) 13 years ago
rubidium 02b884d923 (svn r23244) -Feature: if the installation is ananas, try to get the b without b installed 13 years ago
peter1138 50d1541270 (svn r23017) -Codechange: Add support for resized scrollbars. 13 years ago
rubidium 81e352b4b6 (svn r22803) -Fix (r22796): clicking should not work either when hiding windows 13 years ago
rubidium d1657fae80 (svn r22794) -Codechange: let window drawing determine which windows may be drawn when a modal progress is busy 13 years ago
rubidium 421053a694 (svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h 13 years ago
rubidium 37415b9cf7 (svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress 13 years ago
frosch 1f79304125 (svn r22485) -Fix: EnsureVisibleCaption() did not update viewport positions of windows with viewports but without caption. (only triggerable since r22484) 13 years ago
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. 13 years ago
rubidium 835ae31f45 (svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups 13 years ago
frosch 3d2f454167 (svn r22294) -Fix (r20922)[FS#4571]: Reset Window::scrolling_scrollbar when raising scrollbar buttons. 13 years ago
frosch 51ddbbb13d (svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope. 13 years ago
frosch b997ebb942 (svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls. 13 years ago
frosch f34e9ff074 (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 14 years ago
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. 14 years ago
terkhen 8196b03074 (svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar. 14 years ago
frosch 9e1695aa1e (svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings. 14 years ago
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
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 14 years ago
alberth 32cd182ecc (svn r21822) -Codechange: Merge event handling code. 14 years ago
alberth 4a203e8a49 (svn r21821) -Codechange: Clean up the jump conditions. 14 years ago
alberth 1e7c3fd2ff (svn r21820) -Codechange: Concatenate both functions. 14 years ago
alberth a2297dc594 (svn r21819) -Codechange: Swap order of HandleMouseDrag() and HandleDragDrop(), and split the w vardecl in the former. 14 years ago
alberth 352fd000ea (svn r21760) -Fix (r20452): Restore wheeling of vertical scrollbars. 14 years ago
alberth 661e13a86a (svn r21667) -Codechange: Introduce _thd.Reset(). 14 years ago
alberth 22a13850cb (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 14 years ago
smatz b5268dccbd (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE 14 years ago
alberth e930b9985d (svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode. 14 years ago
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 14 years ago
rubidium a029b2b83a (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 14 years ago
rubidium 5dbd80ff3c (svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor 14 years ago
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 14 years ago
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 14 years ago
rubidium a9da53c106 (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 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
rubidium 0baf335be3 (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 3a6892ba10 (svn r21015) -Fix [FS#4176]: don't let the resize button go past the bottom of the screen 14 years ago
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 14 years ago
yexo 6b35ad3f0b (svn r20820) -Codechange: remove two more contants related to the height of the main toolbar 14 years ago
yexo 532003504e (svn r20807) -Codechange: don't clamp the width of the main toolbar to 640 pixels 14 years ago
smatz a282c3ab57 (svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active 14 years ago
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 14 years ago
yexo 0068c02244 (svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible 14 years ago
yexo 6eb3ef7bc3 (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 47494b2744 (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 6446a928dc (svn r20695) -Codechange: move PreventHiding to another location 14 years ago
alberth 9f5a96ead2 (svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file. 14 years ago
rubidium 3e3cd47222 (svn r20577) -Fix [FS#4043]: scroll button flickering when pressed 14 years ago
terkhen cfc0df152b (svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window. 14 years ago
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) 14 years ago
frosch d496ec65b9 (svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked. 14 years ago
frosch 9e538acc03 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch b37be47f16 (svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead. 14 years ago
frosch 6e9c9c28d9 (svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead. 14 years ago
frosch 55bd5de43d (svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp 14 years ago
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. 14 years ago
frosch 66e48dfdce (svn r20456) -Codechange: Add separate nested widget class for scrollbars. 14 years ago
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.
14 years ago
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
frosch 629b350a71 (svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget. 14 years ago
terkhen 80c43f52e8 (svn r20289) -Codechange: Unify fall through coding style. 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth 7aabb887d4 (svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals. 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth 97f85f7bfb (svn r20222) -Add: Add functions to compute the row in a scrolled widget. 14 years ago
alberth 3a1451644a (svn r20221) -Codechange: Move unscrolled row calculation into a function. 14 years ago
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
frosch 8439cf2f4c (svn r20152) -Fix: Silence a gcc warning. 14 years ago
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. 14 years ago
terkhen fa3d9d04d3 (svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely. 14 years ago
frosch 987417e665 (svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them. 14 years ago
terkhen 9cf9bb9b92 (svn r20121) -Add: OnHover method for windows. 14 years ago
terkhen 10fbb87823 (svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse over a widget instead of by right clicking on it. 14 years ago
terkhen 9aef7b8c3d (svn r20118) -Add: Detect if the mouse has been hovering over the same point. 14 years ago
terkhen dd5bf70f20 (svn r20117) -Codechange: Use a Point struct to store double click position. 14 years ago
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
14 years ago
frosch 9e53f1e004 (svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation. 14 years ago
alberth 2224c9b515 (svn r19910) -Doc: Doxygen additions. 14 years ago
alberth 51e67a40e0 (svn r19909) -Doc: Typo fixes, small doxygen improvements. 14 years ago
alberth ef353f69ca (svn r19908) -Codechange: Use a boolean value to assign to a boolean variable. 14 years ago
alberth cf060d16ec (svn r19906) -Codechange: HandleMouseOver() never ends, so don't return an event handling state. 14 years ago
alberth ce0e1cbb3f (svn r19905) -Codechange: Use EventState for mouse handling routines. 14 years ago
alberth 113f3ef0eb (svn r19904) -Codechange: Make EventState usable outside Window context. 14 years ago
alberth fc82d9cd77 (svn r19903) -Codechange: Use SpecialMouseMode enum as type of _special_mouse_mode. 14 years ago
alberth ae560aeb8b (svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr). 14 years ago
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. 14 years ago
frosch 7b30f34ecf (svn r19731) -Add: Spritepicker to sprite alignment tool. 14 years ago
rubidium e75e2648fc (svn r19706) -Add: support for the (NewGRF) debug box 14 years ago
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 14 years ago
alberth 6934e6fe7d (svn r19558) -Fix [FS#3730]: Window::OnResize() was not always called while resizing a window. 14 years ago
rubidium 14d28c5e69 (svn r19250) -Fix [FS#3643]: with RTL languages clicking a horizontal scrollbar that could not scroll could cause a crash 15 years ago
rubidium 249acc9e4f (svn r19089) -Codechange: some minor coding style 15 years ago
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. 15 years ago
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
peter1138 08a24fcc31 (svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves. 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
frosch 70f96a3dbf (svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast. 15 years ago
rubidium de3cff9e1a (svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window 15 years ago
rubidium 2bb5e2de29 (svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game 15 years ago
alberth b30e56850c (svn r18607) -Fix (r18583): Preserve window width when shading. 15 years ago
alberth 3323d64f28 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 15 years ago
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. 15 years ago
alberth ca66652005 (svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp). 15 years ago
rubidium c03aadda08 (svn r18582) -Codechange: save 8 bytes from the Window class 15 years ago
alberth 5a083f183e (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
alberth 20debea202 (svn r18579) -Codechange: Add orientation to scrollbars. 15 years ago
alberth 5187a5980b (svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead. 15 years ago
alberth 01d4eba140 (svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking. 15 years ago
alberth 45327a588b (svn r18334) -Codechange: No need to test a pointer after using it. 15 years ago
rubidium 5d38d06313 (svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be displayed fully. Fix by erikjanp. 15 years ago
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
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 15 years ago
rubidium 6a367fda8a (svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc. 15 years ago
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. 15 years ago
rubidium 5c6cf4f8d2 (svn r18206) -Fix [FS#3322]: on could 'pan' on the viewports of other windows, like the industry view, too 15 years ago
alberth 777d5ce12e (svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays. 15 years ago
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium abe1c6f3c7 (svn r18150) -Codechange: make the horizontal scrollbar scroll in the opposite direction with RTL 15 years ago
rubidium e438fc6a80 (svn r18130) -Codechange: initial steps into making the vehicle/group lists big font and RTL aware 15 years ago
rubidium 179b924173 (svn r18120) -Fix (r18119): sometimes ReInit didn't dirty the new window 15 years ago
rubidium e7dd53dffc (svn r18119) -Codechange/Fix: always call OnResize so the matrices/scrollbars are initialised without the need for duplicating the OnResize code 15 years ago
rubidium f6ec2fa5b9 (svn r18095) -Fix (r18093): a bit too much nested_array != NULL removal 15 years ago
rubidium 5fe405bad1 (svn r18093) -Fix: the mouseover handler could crash if there wasn't a widget under the mouse 15 years ago
rubidium aeb9f8e715 (svn r18092) -Codechange: remove support for the unnested widgets 15 years ago
alberth 8415a2238f (svn r18090) -Fix: Only allow raising of WWT_* nested widgets. 15 years ago
rubidium 884561f431 (svn r18088) -Codechange: remove CompareWidgetArrays 15 years ago
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
alberth 94261ad01a (svn r18069) -Codechange: Initialize window flags at the same tme as the other fields instead of afterwards. 15 years ago
rubidium cbf4b80b86 (svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when right-click-dragging 15 years ago
alberth a2e6035f16 (svn r18013) -Codechange: Add possibility to change window size during ReInit(). 15 years ago
rubidium 618621e851 (svn r18003) -Cleanup: prune some unused functions from Window 15 years ago
alberth 0bc03c25f4 (svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view. 15 years ago
alberth b500170ac2 (svn r17995) -Codechange: PreventHiding() is used in one file, make it static. 15 years ago
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 15 years ago
rubidium 86fd0c0bce (svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected 15 years ago
alberth 82e21df3a4 (svn r17915) -Codechange: Allow windows to compute their own initial position. 15 years ago
smatz a558159faa (svn r17869) -Codechange: don't create OnScroll() event for zero delta 15 years ago
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. 15 years ago
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. 15 years ago
rubidium 66721ffd36 (svn r17751) -Fix [FS#3253]: sometimes clicking on a for the user unfocused edit box would show the OSK (Zuu) 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium e9624fe0cc (svn r17682) -Codechange: remove erroneous space before some commas 15 years ago
rubidium 0032405093 (svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class 15 years ago
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
frosch 734edc178d (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. 15 years ago
alberth afe190a216 (svn r17504) -Codechange: un-inlining SetFocusedWidget() as it is not often used. 15 years ago
rubidium 5cb22df0f5 (svn r17375) -Codechange: remove last direct usage of scrollbar variables 15 years ago
rubidium 900aedf270 (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers 15 years ago