summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
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.
2009-10-20(svn r17830) -Fix [FS#3276]: Some windows already need their window_number ↵frosch
when setting up smallest size (e.g. for DParams). So assign it earlier in Window::InitializeData instead of dealing with each window separately.
2009-10-10(svn r17751) -Fix [FS#3253]: sometimes clicking on a for the user unfocused ↵rubidium
edit box would show the OSK (Zuu)
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
2009-09-30(svn r17673) -Codechange: make InvalidateThisWindowData a function of the ↵rubidium
window class
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-13(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by ↵frosch
other functions already.
2009-09-11(svn r17504) -Codechange: un-inlining SetFocusedWidget() as it is not often ↵alberth
used.
2009-09-02(svn r17375) -Codechange: remove last direct usage of scrollbar variablesrubidium
2009-09-02(svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar ↵rubidium
wrappers
2009-09-02(svn r17365) -Codechange: introduce wrapper functions to update the ↵rubidium
position, capacity and count of scroll bars. This to (eventually) prevent the scrollbar overflowing outside of the window
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-14(svn r17175) -Codechange: Only auto-raise push buttons.alberth
2009-08-14(svn r17168) -Codechange: apply coding style to if and while statementssmatz
2009-08-10(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following ↵frosch
vehicles, when autoreplacing/renewing them.
2009-08-01(svn r17024) -Codechange: Allow InitNested to be done in two parts.alberth
2009-07-26(svn r16963) -Codechange: Added NWidgetViewport widget.alberth
2009-07-25(svn r16957) -Fix: Trigger the same window repositioning after changing ↵frosch
font/language as it is done after resizing the main OpenTTD window.
2009-07-21(svn r16906) -Fix (r12939): Child windows of build toolbars were placed ↵alberth
inconsistently.
2009-07-20(svn r16890) -Codechange: Allow raising and enabling/disabling of widgets ↵alberth
even if they are not used.
2009-07-16(svn r16848) -Fix: Trying to reduce a nested widget window further than the ↵alberth
smallest alowed size should not crash the game.
2009-07-15(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.alberth