Commit Graph

74 Commits (6a2af1cd295fc98a3ca3817a63df02ff015b0b13)

Author SHA1 Message Date
rubidium 8b074018fc (svn r19883) -Fix [FS#3812]: dropdowns did affect positioning of new windows because they were not yet removed when the new windows were positioned 14 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
peter1138 f403166a56 (svn r18932) -Codechange: Don't constantly redraw drop drop list. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 877307a0eb (svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that 15 years ago
frosch 372aa6ff5f (svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT). 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
rubidium f123ff906f (svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g 15 years ago
rubidium 487e38dd42 (svn r18164) -Change: make dropdown 'right' align to the opening widget with RTL 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 1f6f15a126 (svn r18092) -Codechange: remove support for the unnested widgets 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
alberth 58b6fb8417 (svn r17998) -Fix (r17994): Use a consistent item list width. 15 years ago
alberth c7ca4691c4 (svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view. 15 years ago
alberth da20ee30a2 (svn r17994) -Codechange: Make the dropdown menu window use pure nested widgets. 15 years ago
alberth abe3dc1f34 (svn r17993) -Codechange: Move widget and data initialization into the dropdown menu class. 15 years ago
alberth 2ae6969b49 (svn r17992) -Codechange: Merge some parameters of the dropdown menu. 15 years ago
alberth 55c5565d1f (svn r17991) -Codechange: Use WD_VSCROLLBAR_WIDTH constant in dropdown menu window. 15 years ago
alberth 46b819bba0 (svn r17990) -Codechange: Add widgets enum for dropdown menu window. 15 years ago
alberth 3fe117133c (svn r17944) -Codechange (r11848): Removed the second counter variable that ran in sync with the first one. 15 years ago
alberth f37f2d037c (svn r17942) -Documentation: Add a few doxygen comments to the dropdown code. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
alberth b124f09934 (svn r17575) -Codechange: Adding a new combined button+dropdown widget. 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 7a1ffc6501 (svn r17440) -Fix [FS#3179] (r17375): long scrollbars would scroll when that was not intended. They would also not properly mark the window dirty. 15 years ago
rubidium 62c7948a4f (svn r17375) -Codechange: remove last direct usage of scrollbar variables 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
alberth 0cc8cbd40d (svn r17171) -Doc: Additions and corrections of various doxygen strings. 15 years ago
alberth aac49ba01c (svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets. 15 years ago
alberth a3abbfc204 (svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window. 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
peter1138 a6de3cd932 (svn r15877) -Codechange: Let drop down lists know about font height. 15 years ago
rubidium 303a8f9673 (svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier. 15 years ago
rubidium 66cb1fe1ff (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago
peter1138 5304330f92 (svn r15387) -Codechange: Add a drop down list item type for char* strings. 16 years ago
peter1138 bce50498fc (svn r15312) -Codechange: Handle closing of drop down menus when clicking in 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. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 4a204fbf96 (svn r14881) -Fix (r14880): somehow make didn't think that widgets/dropdown.cpp did depend on window_gui.h... 16 years ago
glx c61674221c (svn r14840) -Cleanup: remove duplicate includes 16 years ago
peter1138 7b632aa8aa (svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified. 16 years ago
peter1138 d6c385a41e (svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released. 16 years ago
peter1138 ad52678d14 (svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item. 16 years ago
peter1138 76b0ffd342 (svn r14004) -Codechange: Clean of drop down lists.
Move empty item drawing to base ListItem Draw() function.
  Remove String() from base class.
  Pass correct width to Draw().
16 years ago
belugas 98d8501278 (svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
Mostly forgotten ones.
16 years ago
frosch cfdc710104 (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 16 years ago
rubidium 33e18c236d (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 16 years ago
peter1138 855336a1e6 (svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists 16 years ago