summaryrefslogtreecommitdiff
path: root/src/widgets/dropdown.cpp
AgeCommit message (Collapse)Author
2019-03-10Codechange: Use Colours type instead of byte.peter1138
2019-01-20Fix #6060: When opening a scrollable dropdown above a widget, scroll it to ↵J0an Josep
its very bottom. This "prevents" the fast movement towards the bottom when holding down the mouse button.
2019-01-20Codechange #6060: Allow drawing dropdown lists with scrollbars above the widgetsJuanjo
2019-01-12Fix #6780: Some windows didn't get updated from OnTick() (#7048)PeterN
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2017-03-23(svn r27820) -Fix: Allow dropdown to be drawn above origin widget even with ↵peter1138
scrollbar (Juanjo)
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
2015-02-01(svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus.frosch
2014-07-16(svn r26691) -Codechange: Simplify ShowDropDownListAt (Juanjo)frosch
2014-07-08(svn r26680) -Codechange: Simplify dropdown height computation. (Juanjo)frosch
2014-06-05(svn r26629) -Fix [FS#6012]: If the video driver fails to supply a list of ↵frosch
resolutions, display an error message.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-11-26(svn r26128) -Fix: erroneous castrubidium
2013-11-26(svn r26121) -Codechange: add some asserts after dynamic casts to show they ↵rubidium
shouldn't return NULL ever
2013-11-24(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵rubidium
dropdowns
2013-10-11(svn r25828) -Doc [FS#5785]: Description of parameters for ShowDropDownMenu ↵planetmaker
was partially swapped (3298)
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-06-01(svn r24308) -Add: ShowDropDownListAt() for drawing dropdown windows ↵frosch
independent of dropdown widgets.
2012-06-01(svn r24307) -Codechange: Move all interaction of the dropdown window with ↵frosch
widgets of the parent window to a method of the parent window.
2012-04-17(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get ↵michi_cc
old. (Vikthor)
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2011-12-16(svn r23531) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp
2011-10-11(svn r23018) -Fix (r14004): Pass bottom of dropdown item rather than bottom ↵peter1138
of dropdown window.
2011-10-11(svn r23017) -Codechange: Add support for resized scrollbars.peter1138
2011-09-15(svn r22932) -Fix [FS#4766]: disable the white border on window creation for ↵yexo
several windows (based on patch by monoid)
2011-05-06(svn r22429) -Add: some constants for specific palette colours used in the GUI.frosch
2011-05-04(svn r22421) -Fix: Replace various references to Windows palette greyscale ↵frosch
indices with the DOS palette indices.
2011-04-30(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be ↵rubidium
declared in string_func.h.
2011-04-10(svn r22311) -Add: DropDownListStringItem::NatSortFunc() which can be used ↵frosch
as comparator function in DropDownList::sort().
2011-04-10(svn r22310) -Codechange: Derive DropDownListCharStringItem from ↵frosch
DropDownListStringItem.
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-24(svn r21031) -Fix (r19883): Dropdown menu glitched in small screenshots, ↵frosch
when issueing them from the menu.
2010-08-12(svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns.frosch
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
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 r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-05-22(svn r19883) -Fix [FS#3812]: dropdowns did affect positioning of new windows ↵rubidium
because they were not yet removed when the new windows were positioned
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-28(svn r18932) -Codechange: Don't constantly redraw drop drop list.peter1138
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-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
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-27(svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT).frosch