summaryrefslogtreecommitdiff
path: root/src/widgets/dropdown.cpp
AgeCommit message (Collapse)Author
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
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-19(svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/grubidium
2009-11-18(svn r18164) -Change: make dropdown 'right' align to the opening widget with RTLrubidium
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 r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-07(svn r17998) -Fix (r17994): Use a consistent item list width.alberth
2009-11-07(svn r17997) -Codechange: Introduce functions for querying top and bottom of ↵alberth
the main view.
2009-11-07(svn r17994) -Codechange: Make the dropdown menu window use pure nested widgets.alberth
2009-11-07(svn r17993) -Codechange: Move widget and data initialization into the ↵alberth
dropdown menu class.
2009-11-07(svn r17992) -Codechange: Merge some parameters of the dropdown menu.alberth
2009-11-07(svn r17991) -Codechange: Use WD_VSCROLLBAR_WIDTH constant in dropdown menu ↵alberth
window.
2009-11-07(svn r17990) -Codechange: Add widgets enum for dropdown menu window.alberth
2009-11-01(svn r17944) -Codechange (r11848): Removed the second counter variable that ↵alberth
ran in sync with the first one.
2009-11-01(svn r17942) -Documentation: Add a few doxygen comments to the dropdown code.alberth
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17575) -Codechange: Adding a new combined button+dropdown widget.alberth
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-07(svn r17440) -Fix [FS#3179] (r17375): long scrollbars would scroll when that ↵rubidium
was not intended. They would also not properly mark the window dirty.
2009-09-02(svn r17375) -Codechange: remove last direct usage of scrollbar variablesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-14(svn r17171) -Doc: Additions and corrections of various doxygen strings.alberth
2009-07-12(svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets.alberth
2009-05-04(svn r16227) -Codechange: Added nested widgets for error windows, tooltip ↵alberth
window, and dropdown window.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-28(svn r15877) -Codechange: Let drop down lists know about font height.peter1138
2009-03-21(svn r15783) -Codechange: make the dropdown draw code pass around the ↵rubidium
left/right instead of the x and width to make drawing text at offsets easier.
2009-02-09(svn r15423) -Codechange: split widget related types to their own header and ↵rubidium
add a bit of type strictness.
2009-02-07(svn r15387) -Codechange: Add a drop down list item type for char* strings.peter1138
2009-02-01(svn r15312) -Codechange: Handle closing of drop down menus when clicking in ↵peter1138
a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz