summaryrefslogtreecommitdiff
path: root/src/autoreplace_gui.cpp
AgeCommit message (Collapse)Author
2019-12-21Codechange: Replace FOR_ALL_ENGINES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-13Codechange: use std::sort() in EngList_Sort[Partial]()glx
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-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: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-24Change: Show additional cost and refitted capacity in build vehicle window.peter1138
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2016-12-08(svn r27683) -Change: Rearrange the autoreplace GUI for trains, and do not ↵frosch
filter it by railtype by default.
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2014-09-11(svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name.alberth
2014-09-07(svn r26805) -Feature: Allow hiding of non-interesting engines in the ↵alberth
autoreplace GUI.
2014-09-07(svn r26801) -Add: Labels above the lists in the autoreplace GUI.alberth
2014-09-07(svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI.alberth
2014-09-07(svn r26799) -Codechange: Export vehicle sorting data and functions.alberth
2014-09-07(svn r26798) -Codechange: Code style fixes.alberth
2014-06-10(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.frosch
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
2013-10-28(svn r25919) -Change [FS#5734]: Preselect the current replacement in the ↵frosch
right-side list of the autoreplace GUI, instead of selecting the first resp. previous item.
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 r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
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.
2013-01-23(svn r24939) -Fix: Redraw autoreplace window properly in network games.peter1138
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-06-03(svn r24321) -Change/Fix [FS#4254]: [NewGRF] Group vehicles in the purchase ↵frosch
list properly by source GRF, but also consider engine GRFID overrides.
2012-05-05(svn r24202) -Change: Make the size of the details in the autoreplace GUI ↵frosch
match more the size of the details in the purchase list.
2012-04-17(svn r24140) -Add [FS#1117]: Group name in the replace vehicle window ↵michi_cc
caption. (Juanjo)
2012-04-17(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get ↵michi_cc
old. (Vikthor)
2012-01-28(svn r23863) -Fix (r22981): '' != ' == 0'.frosch
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-16(svn r23531) -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-10-03(svn r22981) -Add: GroupStatistics for the ALL_GROUP.frosch
2011-05-02(svn r22413) -Document: even more stuffrubidium
2011-03-13(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.frosch
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-02-23(svn r22133) -Fix: some coding style.frosch
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-20(svn r21868) -Fix (r21866 and some more): the changes to the main toolbar ↵rubidium
rail types dropdown should happen for the autoreplace dropdown as well
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable ↵frosch
names.
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.