alberth
0722492c1b
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
frosch
728be193ce
(svn r21031) -Fix (r19883): Dropdown menu glitched in small screenshots, when issueing them from the menu.
14 years ago
frosch
2f284b463c
(svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns.
14 years ago
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
4817d5dcd6
(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.
14 years ago
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
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
15 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.
16 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.
16 years ago
peter1138
a6de3cd932
(svn r15877) -Codechange: Let drop down lists know about font height.
16 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.
16 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