Commit Graph

88 Commits

Author SHA1 Message Date
yexo ad232bd497 (svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid) 2011-09-15 13:26:27 +00:00
frosch 5e449b8fae (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
frosch 22286bd7b6 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
rubidium 46c242b1dc (svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h. 2011-04-30 14:24:23 +00:00
frosch ea1ca5bf1e (svn r22311) -Add: DropDownListStringItem::NatSortFunc() which can be used as comparator function in DropDownList::sort(). 2011-04-10 15:01:14 +00:00
frosch 18f0add50a (svn r22310) -Codechange: Derive DropDownListCharStringItem from DropDownListStringItem. 2011-04-10 14:56:14 +00:00
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
frosch d01e275a25 (svn r21031) -Fix (r19883): Dropdown menu glitched in small screenshots, when issueing them from the menu. 2010-10-24 20:23:45 +00:00
frosch 28048826f8 (svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns. 2010-08-12 11:53:11 +00:00
frosch 9e538acc03 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 2010-08-12 09:16:43 +00:00
frosch 71ca58c2bb (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll 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 08:37:01 +00:00
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium 5e4ec72ce6 (svn r19883) -Fix [FS#3812]: dropdowns did affect positioning of new windows because they were not yet removed when the new windows were positioned 2010-05-22 19:04:56 +00:00
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
peter1138 07b285c5ca (svn r18932) -Codechange: Don't constantly redraw drop drop list. 2010-01-28 02:30:59 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium b00a5f1069 (svn r18330) -Cleanup: remove some unneeded includes 2009-11-28 20:35:25 +00:00
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium b58b058e2b (svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that 2009-11-28 14:36:43 +00:00
frosch a37ca47882 (svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT). 2009-11-27 16:18:03 +00:00
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
rubidium 30f7483f9c (svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g 2009-11-19 18:01:24 +00:00
rubidium 76a5f4f8cd (svn r18164) -Change: make dropdown 'right' align to the opening widget with RTL 2009-11-18 12:31:09 +00:00
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
rubidium aeb9f8e715 (svn r18092) -Codechange: remove support for the unnested widgets 2009-11-15 13:36:30 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
alberth c341673cd5 (svn r17998) -Fix (r17994): Use a consistent item list width. 2009-11-07 17:45:49 +00:00
alberth 0bc03c25f4 (svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view. 2009-11-07 17:24:04 +00:00
alberth 3ae1b98d3a (svn r17994) -Codechange: Make the dropdown menu window use pure nested widgets. 2009-11-07 14:40:37 +00:00
alberth d03bf874fc (svn r17993) -Codechange: Move widget and data initialization into the dropdown menu class. 2009-11-07 11:44:38 +00:00
alberth 81796f10e5 (svn r17992) -Codechange: Merge some parameters of the dropdown menu. 2009-11-07 11:26:23 +00:00
alberth 61576c3184 (svn r17991) -Codechange: Use WD_VSCROLLBAR_WIDTH constant in dropdown menu window. 2009-11-07 10:26:09 +00:00
alberth 7dd10a684d (svn r17990) -Codechange: Add widgets enum for dropdown menu window. 2009-11-07 08:41:34 +00:00
alberth 726edbf3c0 (svn r17944) -Codechange (r11848): Removed the second counter variable that ran in sync with the first one. 2009-11-01 21:05:48 +00:00
alberth bd5fd95e5c (svn r17942) -Documentation: Add a few doxygen comments to the dropdown code. 2009-11-01 20:50:00 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
alberth 8d7498b82c (svn r17575) -Codechange: Adding a new combined button+dropdown widget. 2009-09-19 13:08:37 +00:00
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
rubidium a34d19e9df (svn r17440) -Fix [FS#3179] (r17375): long scrollbars would scroll when that was not intended. They would also not properly mark the window dirty. 2009-09-07 07:59:26 +00:00
rubidium 5cb22df0f5 (svn r17375) -Codechange: remove last direct usage of scrollbar variables 2009-09-02 08:58:20 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
alberth 4eb155ccfb (svn r17171) -Doc: Additions and corrections of various doxygen strings. 2009-08-14 18:41:03 +00:00
alberth c94c18fc0a (svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets. 2009-07-12 10:02:10 +00:00
alberth 34066a6027 (svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window. 2009-05-04 18:42:49 +00:00
rubidium 59d45a04d6 (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. 2009-04-21 23:40:56 +00:00
peter1138 f30f5607e3 (svn r15877) -Codechange: Let drop down lists know about font height. 2009-03-28 12:47:29 +00:00
rubidium 93fe44a3c5 (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. 2009-03-21 19:31:47 +00:00