summaryrefslogtreecommitdiff
path: root/src/window_gui.h
AgeCommit message (Collapse)Author
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
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
2011-12-10(svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the ↵rubidium
vehicles when adding an extra order
2011-11-18(svn r23252) -Codechange: Add WD_BEVEL_xxx constants.frosch
2011-10-11(svn r23017) -Codechange: Add support for resized scrollbars.peter1138
2011-03-13(svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do ↵frosch
immediately in command scope, and what to do asynchronously in GUI-scope.
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-23(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, ↵frosch
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.
2011-01-15(svn r21803) -Cleanup: Remove unnecessary semicolons.terkhen
2010-12-30(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.alberth
2010-12-12(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window ↵rubidium
got closed
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-09-06(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone ↵smatz
and vehicle to clone orders from directly from vehicle lists and depot window
2010-08-29(svn r20689) -Codechange: Make some global functions used in 1 .cpp file ↵alberth
static in that file.
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-12(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state ↵frosch
directly in the scrollbar widget instead.
2010-08-12(svn r20459) -Codechange: Remove the Scrollbar members of Window and make ↵frosch
NWidgetScrollbar inherit from Scrollbar instead.
2010-08-12(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cppfrosch
2010-08-12(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE ↵frosch
and instead store the widget index of the being scrolled scrollbar in the Window.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
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.
2010-08-12(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get ↵frosch
the Scrollbar belonging to a scrollbar widget.
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-26(svn r20222) -Add: Add functions to compute the row in a scrolled widget.alberth
2010-07-26(svn r20221) -Codechange: Move unscrolled row calculation into a function.alberth
2010-07-14(svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering ↵rubidium
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-11(svn r20121) -Add: OnHover method for windows.terkhen
2010-07-11(svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse ↵terkhen
over a widget instead of by right clicking on it.
2010-07-11(svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse.terkhen
2010-07-11(svn r20118) -Add: Detect if the mouse has been hovering over the same point.terkhen
2010-06-07(svn r19943) -Fix [FS#3865]: Disallow moving of vehicle news window.frosch
2010-05-30(svn r19904) -Codechange: Make EventState usable outside Window context.alberth
2010-05-30(svn r19903) -Codechange: Use SpecialMouseMode enum as type of ↵alberth
_special_mouse_mode.
2010-05-23(svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging ↵alberth
for the purpose of highlighting the destination (sbr).
2010-05-01(svn r19746) -Fix [FS#3675]: Do not recenter usually centered windows when ↵frosch
resizing main window or changing language, if they have been moved/resized before.
2010-04-24(svn r19706) -Add: support for the (NewGRF) debug boxrubidium
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-23(svn r18900) -Document: that an empty string for OnQueryTextFinished means ↵rubidium
'use default'
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-31(svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a ↵rubidium
window
2009-12-22(svn r18607) -Fix (r18583): Preserve window width when shading.alberth
2009-12-22(svn r18606) -Codechange: Introduce several forms of zero-size stacked ↵alberth
display planes.
2009-12-21(svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily ↵alberth
based on code by erikjanp).
2009-12-20(svn r18582) -Codechange: save 8 bytes from the Window classrubidium
2009-12-20(svn r18580) -Codechange: Use widget information only for setting scrollbar ↵alberth
capacity.
2009-12-20(svn r18579) -Codechange: Add orientation to scrollbars.alberth
2009-12-19(svn r18542) -Codechange: Make nested widget parts obligatory in a window ↵alberth
description.
2009-11-29(svn r18348) -Doc: Doxygen fixes, and removal of an old @note.alberth
2009-11-29(svn r18345) -Codechange: Warn the window that it gets initialized, so it ↵alberth
can do some work ahead.
2009-11-29(svn r18336) -Cleanup (r18092): Remove declaration of an already removed ↵alberth
function.
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.