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.
15 years ago
alberth
2224c9b515
(svn r19910) -Doc: Doxygen additions.
15 years ago
alberth
51e67a40e0
(svn r19909) -Doc: Typo fixes, small doxygen improvements.
15 years ago
alberth
ef353f69ca
(svn r19908) -Codechange: Use a boolean value to assign to a boolean variable.
15 years ago
alberth
cf060d16ec
(svn r19906) -Codechange: HandleMouseOver() never ends, so don't return an event handling state.
15 years ago
alberth
ce0e1cbb3f
(svn r19905) -Codechange: Use EventState for mouse handling routines.
15 years ago
alberth
113f3ef0eb
(svn r19904) -Codechange: Make EventState usable outside Window context.
15 years ago
alberth
fc82d9cd77
(svn r19903) -Codechange: Use SpecialMouseMode enum as type of _special_mouse_mode.
15 years ago
alberth
ae560aeb8b
(svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr).
15 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.
15 years ago
frosch
7b30f34ecf
(svn r19731) -Add: Spritepicker to sprite alignment tool.
15 years ago
rubidium
e75e2648fc
(svn r19706) -Add: support for the (NewGRF) debug box
15 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
15 years ago
alberth
6934e6fe7d
(svn r19558) -Fix [FS#3730]: Window::OnResize() was not always called while resizing a window.
15 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