Commit Graph

276 Commits (086a424b7a344a1e69e697b7e0cea86a4f8d1ef1)

Author SHA1 Message Date
terkhen 90d6003dbb (svn r20118) -Add: Detect if the mouse has been hovering over the same point. 14 years ago
terkhen ff26bed701 (svn r20117) -Codechange: Use a Point struct to store double click position. 14 years ago
yexo d96aa7abfa (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 65d058723e (svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation. 14 years ago
alberth 6a2af1cd29 (svn r19910) -Doc: Doxygen additions. 14 years ago
alberth 29fd6ce0e4 (svn r19909) -Doc: Typo fixes, small doxygen improvements. 14 years ago
alberth d0a999bd5b (svn r19908) -Codechange: Use a boolean value to assign to a boolean variable. 14 years ago
alberth 1417c52725 (svn r19906) -Codechange: HandleMouseOver() never ends, so don't return an event handling state. 14 years ago
alberth ee390ab713 (svn r19905) -Codechange: Use EventState for mouse handling routines. 14 years ago
alberth b40fc5bab8 (svn r19904) -Codechange: Make EventState usable outside Window context. 14 years ago
alberth 63c3220e1d (svn r19903) -Codechange: Use SpecialMouseMode enum as type of _special_mouse_mode. 14 years ago
alberth 740185febd (svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr). 14 years ago
frosch dccab5b43f (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 efdc25bb73 (svn r19731) -Add: Spritepicker to sprite alignment tool. 14 years ago
rubidium b32665ebd0 (svn r19706) -Add: support for the (NewGRF) debug box 14 years ago
rubidium 8a4bfe10cb (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 7f9a771a8b (svn r19558) -Fix [FS#3730]: Window::OnResize() was not always called while resizing a window. 14 years ago
rubidium 59e767b1bf (svn r19250) -Fix [FS#3643]: with RTL languages clicking a horizontal scrollbar that could not scroll could cause a crash 15 years ago
rubidium 970842e4a2 (svn r19089) -Codechange: some minor coding style 15 years ago
rubidium d966b3655f (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 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
peter1138 dec341a963 (svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves. 15 years ago
rubidium 9467b7c6d6 (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 64feefa80e (svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast. 15 years ago
rubidium d1d6e8fc20 (svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window 15 years ago
rubidium af5bd27c73 (svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game 15 years ago
alberth 8e802135d8 (svn r18607) -Fix (r18583): Preserve window width when shading. 15 years ago
alberth e967f04123 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 15 years ago
alberth 40ab9eeeba (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 45a8eb682e (svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp). 15 years ago
rubidium 97a6adf9f3 (svn r18582) -Codechange: save 8 bytes from the Window class 15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
alberth 05c30d294e (svn r18579) -Codechange: Add orientation to scrollbars. 15 years ago
alberth 57ea707cc4 (svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead. 15 years ago
alberth acf091da8e (svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking. 15 years ago
alberth 30e834860a (svn r18334) -Codechange: No need to test a pointer after using it. 15 years ago
rubidium 55897be79b (svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be displayed fully. Fix by erikjanp. 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 877307a0eb (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 0b31433eea (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 46f90bef77 (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 13371fa629 (svn r18206) -Fix [FS#3322]: on could 'pan' on the viewports of other windows, like the industry view, too 15 years ago
alberth 75e513d5b5 (svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays. 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 266a1d0f7d (svn r18150) -Codechange: make the horizontal scrollbar scroll in the opposite direction with RTL 15 years ago
rubidium 684e63e2b5 (svn r18130) -Codechange: initial steps into making the vehicle/group lists big font and RTL aware 15 years ago
rubidium c63b6887ef (svn r18120) -Fix (r18119): sometimes ReInit didn't dirty the new window 15 years ago
rubidium f3043f2006 (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 23f0385d65 (svn r18095) -Fix (r18093): a bit too much nested_array != NULL removal 15 years ago
rubidium f20d3a55ec (svn r18093) -Fix: the mouseover handler could crash if there wasn't a widget under the mouse 15 years ago