summaryrefslogtreecommitdiff
path: root/src/window_gui.h
AgeCommit message (Collapse)Author
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 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-12-19(svn r18542) -Codechange: Make nested widget parts obligatory in a window ↵alberth
description.
2009-11-29(svn r18348) -Doc: Doxygen fixes, and removal of an old @note.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 r18336) -Cleanup (r18092): Remove declaration of an already removed ↵alberth
function.
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-28(svn r18318) -Codechange: add an enum value for manual window placementrubidium
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
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