summaryrefslogtreecommitdiff
path: root/src/window_gui.h
AgeCommit message (Collapse)Author
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-19(svn r18195) -Codechange: move the child padding calculation/handling to ↵rubidium
WWT_FRAME -Fix (r18168): crash when switching languages when a non-standard font height is used
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-15(svn r18092) -Codechange: remove support for the unnested widgetsrubidium
2009-11-15(svn r18089) -Codechange: remove ResizeWindowForWidgetrubidium
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-11(svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a ↵rubidium
"non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'. We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t). This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
2009-11-11(svn r18040) -Codechange: the size parameter (if it's that actually) isn't ↵rubidium
needed for the delete operator
2009-11-09(svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for ↵rubidium
IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed
2009-11-08(svn r18022) -Cleanup: remove some (now) unused button resize functionsrubidium
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-02(svn r17959) -Cleanup: remove unused functionrubidium
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-30(svn r17903) -Codechange: don't get a modifiable NWidget from a const Windowrubidium
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-18(svn r17798) -Codechange: Introduce new constant WD_PAR_VSEP_WIDE for large ↵alberth
amount of space between text.
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-09-30(svn r17673) -Codechange: make InvalidateThisWindowData a function of the ↵rubidium
window class
2009-09-19(svn r17578) -Fix (r17572): Some compilers don't like default function ↵alberth
template arguments.
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-11(svn r17504) -Codechange: un-inlining SetFocusedWidget() as it is not often ↵alberth
used.
2009-09-11(svn r17503) -Fix (r17502): Save all files before commit.alberth
2009-09-03(svn r17399) -Fix (r17365): if scrollbar has more capacity than elements ↵rubidium
clicking on the "scroll down" button asserted (esminis)
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 r17370) -Codechange: make the saveload and network GUIs use the ↵rubidium
scrollbar wrappers
2009-09-02(svn r17367) -Codechange: make the autoreplace, bridge and build vehicle ↵rubidium
GUIs use the scrollbar wrappers
2009-09-02(svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappersrubidium
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-30(svn r17324) -Codechange: Land info window uses nested widget treeYexo
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 r17171) -Doc: Additions and corrections of various doxygen strings.alberth
2009-08-01(svn r17024) -Codechange: Allow InitNested to be done in two parts.alberth
2009-07-31(svn r17008) -Fix [FS#3061]: Resize matrix in station build window ↵alberth
vertically according to font height.
2009-07-26(svn r16963) -Codechange: Added NWidgetViewport widget.alberth
2009-07-26(svn r16960) -Doc: Added some viewport and vehicle type doxygen strings.alberth
2009-07-25(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized ↵alberth
strings.
2009-07-21(svn r16906) -Fix (r12939): Child windows of build toolbars were placed ↵alberth
inconsistently.
2009-07-20(svn r16892) -Codechange: Add support for nested widget tree windows to ↵alberth
PickerWindowBase.
2009-07-20(svn r16890) -Codechange: Allow raising and enabling/disabling of widgets ↵alberth
even if they are not used.
2009-07-18(svn r16871) -Codechange: Generalize GetWidgetContentSize to ↵alberth
UpdateWidgetSize for better control over widget size and resize steps.
2009-07-15(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.alberth
2009-07-14(svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the ↵alberth
footer of the window.
2009-07-12(svn r16798) -Fix [FS#3016]: Added several new widget distances for better ↵alberth
widget size computations.
2009-07-10(svn r16787) -Fix [FS#3027]: the noise level text in the airport build ↵yexo
window was drawn over the lowest button