summaryrefslogtreecommitdiff
path: root/src/widgets
AgeCommit message (Collapse)Author
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
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.