summaryrefslogtreecommitdiff
path: root/src/vehicle_gui_base.h
AgeCommit message (Collapse)Author
2020-12-21Feature: Option to group vehicle lists by shared ordersBernard Teo
This applies to all kinds of vehicle lists, as well as the "vehicle groups" window.
2020-12-21Codechange: Make vehicle lists internally support grouping of vehiclesBernard Teo
This is in preparation for the new UI feature that allows grouping by shared orders.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-09Codechange: Switch DropDownList to directly use std::vector, thus making ↵Michael Lutz
AutoDeleteSmallVector obsolete. DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate copy-free code for most situations.
2016-11-05(svn r27677) -Codechange: Remove implicit VehicleListIdentifier from uint32 ↵frosch
constructor, to make conversions more explicit.
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2010-09-09(svn r20777) -Codechange: make VehicleListIdentifier a variable of ↵rubidium
BaseVehicleList and use that instead of "dereferencing" the window number and storing some information twice
2010-09-08(svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle ↵rubidium
list instead of a string of parameters
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-07-17(svn r20172) -Codechange: Use ↵frosch
BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list.
2010-07-17(svn r20171) -Fix: Make the group list action dropdown also use ↵frosch
vehicletype-specific texts like the normal vehicle list.
2010-07-17(svn r20170) -Codechange: Add BaseVehicleListWindow::GetActionDropdownSize().frosch
2010-07-17(svn r20169) -Codechange: Replace ShowGroupActionDropdown() with ↵frosch
BaseVehicleListWindow::BuildActionDropdownList().
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-12-20(svn r18576) -Codechange: use the function to determine the width of digits ↵rubidium
for determining the width of the unitnumber in vehicle lists.
2009-11-17(svn r18136) -Codechange: support RTL in the vehicle listsrubidium
2009-11-17(svn r18134) -Codechange: scale the offset of the text/vehicle in the ↵rubidium
vehicle lists based on the font and the unit numbers in the list
2009-11-16(svn r18130) -Codechange: initial steps into making the vehicle/group lists ↵rubidium
big font and RTL aware
2009-11-14(svn r18068) -Cleanup: Remove obsolete BaseVehicleListWindow(const ↵alberth
WindowDesc *desc, WindowNumber window_number) constructor.
2009-11-14(svn r18067) -Codechange: Eliminate a constant representing a widget top ↵alberth
edge in vehicle windows.
2009-10-25(svn r17867) -Codechange: Prepare BaseVehicleListWindow for nested widgets.alberth
2009-10-25(svn r17865) -Codechange: Remove references to specific widgets and ↵alberth
step-heights from BaseVehicleListWindow::DrawVehicleListItems().
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-15(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text ↵frosch
overlaps less with vehicle images.
2009-03-15(svn r15726) -Codechange: unify coding style for const pointerssmatz
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-15(svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore.rubidium
2008-09-13(svn r14306) -Codechange: unify the code to draw the vehicle list.rubidium
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.