summaryrefslogtreecommitdiff
path: root/src/window_gui.h
AgeCommit message (Collapse)Author
2010-08-12(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state ↵frosch
directly in the scrollbar widget instead.
2010-08-12(svn r20459) -Codechange: Remove the Scrollbar members of Window and make ↵frosch
NWidgetScrollbar inherit from Scrollbar instead.
2010-08-12(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cppfrosch
2010-08-12(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE ↵frosch
and instead store the widget index of the being scrolled scrollbar in the Window.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
and vscroll2. Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get ↵frosch
the Scrollbar belonging to a scrollbar widget.
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-26(svn r20222) -Add: Add functions to compute the row in a scrolled widget.alberth
2010-07-26(svn r20221) -Codechange: Move unscrolled row calculation into a function.alberth
2010-07-14(svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering ↵rubidium
is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again.
2010-07-11(svn r20121) -Add: OnHover method for windows.terkhen
2010-07-11(svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse ↵terkhen
over a widget instead of by right clicking on it.
2010-07-11(svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse.terkhen
2010-07-11(svn r20118) -Add: Detect if the mouse has been hovering over the same point.terkhen
2010-06-07(svn r19943) -Fix [FS#3865]: Disallow moving of vehicle news window.frosch
2010-05-30(svn r19904) -Codechange: Make EventState usable outside Window context.alberth
2010-05-30(svn r19903) -Codechange: Use SpecialMouseMode enum as type of ↵alberth
_special_mouse_mode.
2010-05-23(svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging ↵alberth
for the purpose of highlighting the destination (sbr).
2010-05-01(svn r19746) -Fix [FS#3675]: Do not recenter usually centered windows when ↵frosch
resizing main window or changing language, if they have been moved/resized before.
2010-04-24(svn r19706) -Add: support for the (NewGRF) debug boxrubidium
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-23(svn r18900) -Document: that an empty string for OnQueryTextFinished means ↵rubidium
'use default'
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-31(svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a ↵rubidium
window
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