summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
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.
2009-11-21(svn r18206) -Fix [FS#3322]: on could 'pan' on the viewports of other ↵rubidium
windows, like the industry view, too
2009-11-20(svn r18201) -Codechange (r18092): No need anymore for initializing nested ↵alberth
widgets for Widget* arrays.
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-17(svn r18150) -Codechange: make the horizontal scrollbar scroll in the ↵rubidium
opposite direction with RTL
2009-11-16(svn r18130) -Codechange: initial steps into making the vehicle/group lists ↵rubidium
big font and RTL aware
2009-11-16(svn r18120) -Fix (r18119): sometimes ReInit didn't dirty the new windowrubidium
2009-11-16(svn r18119) -Codechange/Fix: always call OnResize so the ↵rubidium
matrices/scrollbars are initialised without the need for duplicating the OnResize code
2009-11-15(svn r18095) -Fix (r18093): a bit too much nested_array != NULL removalrubidium
2009-11-15(svn r18093) -Fix: the mouseover handler could crash if there wasn't a ↵rubidium
widget under the mouse
2009-11-15(svn r18092) -Codechange: remove support for the unnested widgetsrubidium
2009-11-15(svn r18090) -Fix: Only allow raising of WWT_* nested widgets.alberth
2009-11-15(svn r18088) -Codechange: remove CompareWidgetArraysrubidium
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-14(svn r18069) -Codechange: Initialize window flags at the same tme as the ↵alberth
other fields instead of afterwards.
2009-11-09(svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when ↵rubidium
right-click-dragging
2009-11-08(svn r18013) -Codechange: Add possibility to change window size during ReInit().alberth
2009-11-07(svn r18003) -Cleanup: prune some unused functions from Windowrubidium
2009-11-07(svn r17997) -Codechange: Introduce functions for querying top and bottom of ↵alberth
the main view.
2009-11-07(svn r17995) -Codechange: PreventHiding() is used in one file, make it static.alberth
2009-11-02(svn r17947) -Codechange: make the statusbar, chat input and news window ↵rubidium
know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used
2009-10-31(svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with ↵rubidium
no NewGRF selected
2009-10-31(svn r17915) -Codechange: Allow windows to compute their own initial position.alberth
2009-10-25(svn r17869) -Codechange: don't create OnScroll() event for zero deltasmatz
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.