summaryrefslogtreecommitdiff
path: root/src/widgets
AgeCommit message (Collapse)Author
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.
2008-04-09(svn r12644) -Codechange: rework the order gui a little to prepare it for ↵rubidium
some future changes.
2008-04-07(svn r12619) -Codechange: lots of documentation about window related stuff. ↵rubidium
Patch by Alberth.
2008-02-12(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead ↵peter1138
of a byte (Yexo)
2008-01-19(svn r11924) -Codechange: All dropdowns now use the dropdown widget, so ↵peter1138
compatibility code can be removed
2008-01-17(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, ↵peter1138
to eventually replace use of two widgets for each dropdown control.
2008-01-15(svn r11865) -Feature(tte): Support scrolling of drop down lists when in ↵peter1138
drag mode by moving the pointer above or below the list.
2008-01-15(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a ↵peter1138
drop down list before deleting the list.
2008-01-15(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using ↵peter1138
wrong source value. (r1679 partially reverted r1368)
2008-01-15(svn r11857) -Fix: some compile time warnings.rubidium
2008-01-14(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler ↵peter1138
warnings... c++ is fun
2008-01-14(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilationpeter1138