summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
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
2009-12-22(svn r18606) -Codechange: Introduce several forms of zero-size stacked ↵alberth
display planes.
2009-12-21(svn r18587) -Codechange: Insert a shade selection widget in the widget tree ↵alberth
when the window starts with a title bar with a shade box.
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-11-29(svn r18345) -Codechange: Warn the window that it gets initialized, so it ↵alberth
can do some work ahead.
2009-11-29(svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking.alberth
2009-11-29(svn r18334) -Codechange: No need to test a pointer after using it.alberth
2009-11-29(svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be ↵rubidium
displayed fully. Fix by erikjanp.
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-28(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top ↵rubidium
location based on the main toolbar's height instead of hardcoding that
2009-11-28(svn r18320) -Codechange: make the terraform and transparency window not use ↵rubidium
absolute location but manually calculate based on toolbar size etc.
2009-11-24(svn r18273) -Codechange: do not require widget numbers for default widgets ↵rubidium
(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.