Commit Graph

184 Commits (64b705ff1805bcb93bd0020c36bce8a19b78e157)

Author SHA1 Message Date
frosch c973a3cc7b (svn r19943) -Fix [FS#3865]: Disallow moving of vehicle news window. 14 years ago
alberth b40fc5bab8 (svn r19904) -Codechange: Make EventState usable outside Window context. 14 years ago
alberth 63c3220e1d (svn r19903) -Codechange: Use SpecialMouseMode enum as type of _special_mouse_mode. 14 years ago
alberth 740185febd (svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr). 14 years ago
frosch dccab5b43f (svn r19746) -Fix [FS#3675]: Do not recenter usually centered windows when resizing main window or changing language, if they have been moved/resized before. 14 years ago
rubidium b32665ebd0 (svn r19706) -Add: support for the (NewGRF) debug box 14 years ago
smatz d2e99657fa (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium 2a0405ecc4 (svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default' 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium d1d6e8fc20 (svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window 15 years ago
alberth 8e802135d8 (svn r18607) -Fix (r18583): Preserve window width when shading. 15 years ago
alberth e967f04123 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 15 years ago
alberth 45a8eb682e (svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp). 15 years ago
rubidium 97a6adf9f3 (svn r18582) -Codechange: save 8 bytes from the Window class 15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
alberth 05c30d294e (svn r18579) -Codechange: Add orientation to scrollbars. 15 years ago
alberth 2f9f70c295 (svn r18542) -Codechange: Make nested widget parts obligatory in a window description. 15 years ago
alberth 01e17c6828 (svn r18348) -Doc: Doxygen fixes, and removal of an old @note. 15 years ago
alberth 57ea707cc4 (svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead. 15 years ago
alberth ee0b708ea5 (svn r18336) -Cleanup (r18092): Remove declaration of an already removed function. 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 877307a0eb (svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that 15 years ago
rubidium 0b31433eea (svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc. 15 years ago
rubidium fedb593293 (svn r18318) -Codechange: add an enum value for manual window placement 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
rubidium bea622be02 (svn r18195) -Codechange: move the child padding calculation/handling to WWT_FRAME
-Fix (r18168): crash when switching languages when a non-standard font height is used
15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 1f6f15a126 (svn r18092) -Codechange: remove support for the unnested widgets 15 years ago
rubidium b3d1657d11 (svn r18089) -Codechange: remove ResizeWindowForWidget 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
alberth df877e480d (svn r18069) -Codechange: Initialize window flags at the same tme as the other fields instead of afterwards. 15 years ago
rubidium eeb6cf766b (svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a "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.
15 years ago
rubidium 88edbfe3d6 (svn r18040) -Codechange: the size parameter (if it's that actually) isn't needed for the delete operator 15 years ago
rubidium 2396f693a2 (svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed 15 years ago
rubidium 064365fc7a (svn r18022) -Cleanup: remove some (now) unused button resize functions 15 years ago
alberth ade53126b4 (svn r18013) -Codechange: Add possibility to change window size during ReInit(). 15 years ago
rubidium 79a039b0df (svn r18003) -Cleanup: prune some unused functions from Window 15 years ago
rubidium f2cf272cc4 (svn r17959) -Cleanup: remove unused function 15 years ago
rubidium 8742314bb8 (svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected 15 years ago
alberth 2a7d0de0b0 (svn r17915) -Codechange: Allow windows to compute their own initial position. 15 years ago
rubidium ea24fbcc62 (svn r17903) -Codechange: don't get a modifiable NWidget from a const Window 15 years ago
rubidium c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
alberth 9c31915368 (svn r17798) -Codechange: Introduce new constant WD_PAR_VSEP_WIDE for large amount of space between text. 15 years ago
rubidium b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
rubidium e3bb9351a4 (svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class 15 years ago
alberth 0fd79cc4cc (svn r17578) -Fix (r17572): Some compilers don't like default function template arguments. 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago