summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
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 r20456) -Codechange: Add separate nested widget class for scrollbars.frosch
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 r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
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 r20289) -Codechange: Unify fall through coding style.terkhen
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-31(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the ↵alberth
function and two company globals.
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
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-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-14(svn r20152) -Fix: Silence a gcc warning.frosch
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-14(svn r20144) -Feature: Allow to configure the delay of hover events, or to ↵terkhen
disable them completely.
2010-07-11(svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them.frosch
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 r20118) -Add: Detect if the mouse has been hovering over the same point.terkhen
2010-07-11(svn r20117) -Codechange: Use a Point struct to store double click position.terkhen
2010-07-03(svn r20070) -Feature: when none of the open windows handles a keypress, try ↵yexo
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-06-05(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in ↵frosch
sync during GUI operation.
2010-05-30(svn r19910) -Doc: Doxygen additions.alberth
2010-05-30(svn r19909) -Doc: Typo fixes, small doxygen improvements.alberth
2010-05-30(svn r19908) -Codechange: Use a boolean value to assign to a boolean variable.alberth
2010-05-30(svn r19906) -Codechange: HandleMouseOver() never ends, so don't return an ↵alberth
event handling state.
2010-05-30(svn r19905) -Codechange: Use EventState for mouse handling routines.alberth
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-26(svn r19731) -Add: Spritepicker to sprite alignment tool.frosch
2010-04-24(svn r19706) -Add: support for the (NewGRF) debug boxrubidium
2010-04-04(svn r19563) -Fix [FS#3733] (r19558): OnResize wasn't called often enough so ↵rubidium
scrollbars were in some cases not properly updated causing division by zero
2010-04-04(svn r19558) -Fix [FS#3730]: Window::OnResize() was not always called while ↵alberth
resizing a window.
2010-02-25(svn r19250) -Fix [FS#3643]: with RTL languages clicking a horizontal ↵rubidium
scrollbar that could not scroll could cause a crash
2010-02-10(svn r19089) -Codechange: some minor coding stylerubidium
2010-02-04(svn r19002) -Fix [FS#1140]: [OSX] Problems with scrolling touchpad (Peter ↵rubidium
Thorson). I can/have not test(ed) it, it cannot break non OSX builds.
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-28(svn r18933) -Codechange: Don't constantly redraw a window when moving it ↵peter1138
unless it actually moves.
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
2010-01-06(svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and ↵frosch
shading-button twice per mouseclick when clicking fast.
2009-12-31(svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a ↵rubidium
window
2009-12-23(svn r18620) -Fix: possible deadlock with SDL and changing the resolution ↵rubidium
in-game
2009-12-22(svn r18607) -Fix (r18583): Preserve window width when shading.alberth