summaryrefslogtreecommitdiff
path: root/src/widgets/dropdown.cpp
AgeCommit message (Collapse)Author
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
2009-01-06(svn r14881) -Fix (r14880): somehow make didn't think that ↵rubidium
widgets/dropdown.cpp did depend on window_gui.h...
2009-01-04(svn r14840) -Cleanup: remove duplicate includesglx
2008-08-25(svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, ↵peter1138
so that a minimum width can be specified.
2008-08-07(svn r14015) -Codechange: Add facility for a drop down list to always close ↵peter1138
(if requested) when the mouse button is released.
2008-08-07(svn r14014) -Codechange: Add support for automatically sizing drop down ↵peter1138
lists to the widest list item.
2008-08-06(svn r14004) -Codechange: Clean of drop down lists.peter1138
Move empty item drawing to base ListItem Draw() function. Remove String() from base class. Pass correct width to Draw().
2008-08-03(svn r13970) -Codechange: Replace numbers with Colours enum on network, ↵belugas
toolbar and dropdown guis. Mostly forgotten ones.
2008-06-28(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' ↵frosch
into their own parameter.
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-26(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop ↵peter1138
down lists
2008-05-18(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the ↵rubidium
Window constructors.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-13(svn r13075) -Codechange: Allow any value for a dropdown item instead of ↵peter1138
just positive.
2008-05-11(svn r13052) -Codechange: make a class of the DropdownWindow.rubidium
2008-05-10(svn r13029) -Codechange: more work in the road to getting the WP macros and ↵rubidium
byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-06(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-04(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.rubidium
2008-04-12(svn r12675) -Codechange: Add support for custom drawing of drop down list ↵peter1138
items.
2008-04-12(svn r12672) -Codechange: Add support for variably-sized drop down list items.peter1138
2008-04-10(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one ↵peter1138
pixel less than window width, not one more.