summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
AgeCommit message (Collapse)Author
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.
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-27Feature #6053: Collapsible vehicle groups (3298)Charles Pigott
2019-03-27Add #6189: Groups now count the total number of vehicles in subgroups (3298)Charles Pigott
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-02-15Change: Use selected group as parent when creating a new group. (#7224)PeterN
2019-01-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
2019-01-28Codechange: Rename function to match what it does and reduce code indenting.Peter Nelson
2019-01-28Fix: Group hierarchy not visible in RTL languages.Peter Nelson
2019-01-11Change: OnGameTick() is only called when not paused.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2017-03-24(svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display ↵peter1138
to group vehicle list (mtm, JGR)
2016-08-15(svn r27630) -Codechange: Deduplicate code to attach vehicle to cursor.frosch
2015-06-20(svn r27300) -Fix [FS#6306]: Silence GCC warning (Cif)frosch
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-11(svn r26455) -Change: Prompt for confirmation when deleting a vehicle group.peter1138
2014-04-08(svn r26450) -Feature: Hierarchical vehicle subgroups.peter1138
2013-06-30(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of ↵frosch
rows and columns from the resize step size.
2013-06-30(svn r25533) -Codechange: Use SetCapacityFromWidget more often.frosch
2013-06-30(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
2013-06-01(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all ↵frosch
of them.
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2012-12-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-10-25(svn r24626) -Fix [FS#5432]: MSVC 2010 warnings.terkhen
2012-10-14(svn r24595) -Change [FS#5168]: Make the group GUI drag&drop highlighting ↵frosch
behave more intelligible. (based on work by Juanjo)
2012-09-22(svn r24550) -Codechange: Remove unused panel widget in the group gui (Juanjo).alberth
2012-09-22(svn r24549) -Codechange: Remove the hard-coded sprite button sizes in the ↵alberth
group gui (Juanjo).
2012-09-22(svn r24548) -Add: Extra group line in the group gui, if possible (Juanjo).alberth
2012-09-22(svn r24547) -Add [FS#5263]: Separate the 'available vehicles' from the ↵alberth
other buttons in the group gui (Juanjo).
2012-04-17(svn r24139) -Add: Creating a new vehicle group by drag and drop. (Based on ↵michi_cc
patch by Juanjo)
2012-04-17(svn r24138) -Feature(ette): Ctrl+drag to add all vehicles with a shared ↵michi_cc
order list to a group. (Juanjo)
2012-04-17(svn r24125) -Add [FS#3705]: Drag destination highlighting to the group GUI. ↵michi_cc
(sbr)
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-16(svn r23533) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-11-20(svn r23282) -Fix [FS#4844] (r23212): CmdRemoveAllVehiclesGroup() was not ↵frosch
passed the vehicle type in all cases, but the type is actually not needed.
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-10-11(svn r23017) -Codechange: Add support for resized scrollbars.peter1138
2011-10-03(svn r22985) -Feature: Display autoreplace status in group GUI.frosch