summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
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
2009-07-13(svn r16815) -Fix: reduce the toolbar's priority for handling keypresses ↵rubidium
from most important to least important, so e.g. the order windows' 'd' skips to the next order
2009-07-12(svn r16798) -Fix [FS#3016]: Added several new widget distances for better ↵alberth
widget size computations.
2009-07-09(svn r16779) -Fix: Take real smallest size of nested widgets into account ↵alberth
for initial window position.
2009-07-09(svn r16778) -Codechange: Split window initialization in a data part and a ↵alberth
size/position part.
2009-07-05(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.alberth
2009-07-04(svn r16740) -Codechange: Self-sizing widgets in intro screen, town ↵alberth
directory, and found town windows.
2009-06-28(svn r16687) -Codechange: Perform re-initialization of windows with nested ↵alberth
widgets after a language change.
2009-06-05(svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar.alberth
2009-06-04(svn r16517) -Codechange: Switched intro-screen and town directory window to ↵alberth
nested widget trees.
2009-06-04(svn r16516) -Codechange: Added click and drag handling for nested widgets.alberth
2009-06-04(svn r16515) -Codechange: Added scrollbar handling for nested widgets, and ↵alberth
finding widgets by type or position in the tree.
2009-06-03(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.alberth
2009-06-03(svn r16513) -Codechange: Add nested widgets root and array to Window, and ↵alberth
NWidgetBase::FillNestedArray() to fill the array.
2009-06-01(svn r16495) -Codechange: Renamed a few variables.alberth
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-31(svn r16484) -Cleanup: Renamed widget variable to widget_index and ↵alberth
introduced widget_type variable. -Fix: Prevented out-of-bounds array access when not clicking at a widget.
2009-05-30(svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks ↵alberth
to Smatz).
2009-05-30(svn r16466) -Codechange: Improved wording in comments.alberth
2009-05-30(svn r16465) -Codechange: Eliminated GetGloballyFocusedWidget(), it was used ↵alberth
only once.
2009-05-30(svn r16463) -Cleanup: Code style fixes.alberth
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz