Commit Graph

431 Commits

Author SHA1 Message Date
rubidium
5e83d73679 (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
6154b346e3 (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
2db785bfff (svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them. 2010-07-11 14:35:53 +00:00
terkhen
010ebadb0a (svn r20121) -Add: OnHover method for windows. 2010-07-11 11:00:09 +00:00
terkhen
840f09ddf0 (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
90d6003dbb (svn r20118) -Add: Detect if the mouse has been hovering over the same point. 2010-07-11 10:53:07 +00:00
terkhen
ff26bed701 (svn r20117) -Codechange: Use a Point struct to store double click position. 2010-07-11 10:50:47 +00:00
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
2010-07-03 21:43:44 +00:00
frosch
65d058723e (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
6a2af1cd29 (svn r19910) -Doc: Doxygen additions. 2010-05-30 13:16:51 +00:00
alberth
29fd6ce0e4 (svn r19909) -Doc: Typo fixes, small doxygen improvements. 2010-05-30 13:05:36 +00:00
alberth
d0a999bd5b (svn r19908) -Codechange: Use a boolean value to assign to a boolean variable. 2010-05-30 12:40:40 +00:00
alberth
1417c52725 (svn r19906) -Codechange: HandleMouseOver() never ends, so don't return an event handling state. 2010-05-30 12:18:49 +00:00
alberth
ee390ab713 (svn r19905) -Codechange: Use EventState for mouse handling routines. 2010-05-30 12:15:28 +00:00
alberth
b40fc5bab8 (svn r19904) -Codechange: Make EventState usable outside Window context. 2010-05-30 12:06:18 +00:00
alberth
63c3220e1d (svn r19903) -Codechange: Use SpecialMouseMode enum as type of _special_mouse_mode. 2010-05-30 10:36:32 +00:00
alberth
740185febd (svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr). 2010-05-23 14:53:39 +00:00
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. 2010-05-01 15:32:17 +00:00
frosch
efdc25bb73 (svn r19731) -Add: Spritepicker to sprite alignment tool. 2010-04-26 20:35:27 +00:00
rubidium
b32665ebd0 (svn r19706) -Add: support for the (NewGRF) debug box 2010-04-24 13:27:22 +00:00
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 2010-04-04 20:47:51 +00:00
alberth
7f9a771a8b (svn r19558) -Fix [FS#3730]: Window::OnResize() was not always called while resizing a window. 2010-04-04 11:21:56 +00:00
rubidium
59e767b1bf (svn r19250) -Fix [FS#3643]: with RTL languages clicking a horizontal scrollbar that could not scroll could cause a crash 2010-02-25 14:53:22 +00:00
rubidium
970842e4a2 (svn r19089) -Codechange: some minor coding style 2010-02-10 20:53:23 +00:00
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. 2010-02-04 14:21:20 +00:00
frosch
94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
peter1138
dec341a963 (svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves. 2010-01-28 02:31:37 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
frosch
64feefa80e (svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast. 2010-01-06 20:17:46 +00:00
rubidium
d1d6e8fc20 (svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window 2009-12-31 18:11:03 +00:00
rubidium
af5bd27c73 (svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game 2009-12-23 22:41:47 +00:00
alberth
8e802135d8 (svn r18607) -Fix (r18583): Preserve window width when shading. 2009-12-22 20:53:28 +00:00
alberth
e967f04123 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 2009-12-22 20:43:25 +00:00
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. 2009-12-21 16:16:40 +00:00
alberth
45a8eb682e (svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp). 2009-12-21 16:06:20 +00:00
rubidium
97a6adf9f3 (svn r18582) -Codechange: save 8 bytes from the Window class 2009-12-20 20:49:47 +00:00
alberth
f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
alberth
05c30d294e (svn r18579) -Codechange: Add orientation to scrollbars. 2009-12-20 20:04:30 +00:00
alberth
57ea707cc4 (svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead. 2009-11-29 21:14:34 +00:00
alberth
acf091da8e (svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking. 2009-11-29 10:56:51 +00:00
alberth
30e834860a (svn r18334) -Codechange: No need to test a pointer after using it. 2009-11-29 09:18:49 +00:00
rubidium
55897be79b (svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be displayed fully. Fix by erikjanp. 2009-11-29 00:41:08 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
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 2009-11-28 14:36:43 +00:00
rubidium
0b31433eea (svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc. 2009-11-28 14:30:00 +00:00
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. 2009-11-24 17:13:24 +00:00
rubidium
13371fa629 (svn r18206) -Fix [FS#3322]: on could 'pan' on the viewports of other windows, like the industry view, too 2009-11-21 16:02:05 +00:00
alberth
75e513d5b5 (svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays. 2009-11-20 20:10:06 +00:00
rubidium
8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
rubidium
266a1d0f7d (svn r18150) -Codechange: make the horizontal scrollbar scroll in the opposite direction with RTL 2009-11-17 18:45:57 +00:00