summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
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.
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