summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
AgeCommit message (Collapse)Author
2021-04-22Codechange: Scale rating minigraphs on station window list. (#9075)PeterN
Minigraphs did not adjust size to accomodate large text, either by font size or font zoom, leading to cropped labels. Minigraphs and spacing are now scaled by font zoom, as this seems to behave better than gui zoom in this instance.
2021-04-21Cleanup: Remove unnecessary parameter of GetScrolledRowFromWidget()Peter Nelson
Line height defaults to the resize height of the relevant widget, which is set in all cases. Therefore it is not necessary to specify this value every time. Additionally fixes scrolled padding for the framerate window.
2021-01-11Change: Relocate rename and location buttons in all windows.frosch
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-21Change: Place "Group by" above "Sort by" in station window for consistencyBernard Teo
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2020-05-13Codechange: Refactor FindStationsAroundTiles to avoid code duplicationdP
2020-01-12Codechange: Use cached town, station, industry names for list window sortingJonathan G Rennison
This is to avoid needing to expensively regenerate name strings on every comparison when sorting by name in the town/station/industry list windows.
2019-12-21Codechange: Replace station related FOR_ALL with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-30Fix: Crash on waypoint selection windowkiwitree
2019-04-25Feature: Add existing station coverage area display when placing new station ↵peter1138
parts.
2019-04-25Feature: Add coverage area display for existing stations.peter1138
2019-04-13Codechange: use std::sort() in GUIListglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replaced SmallVector::Erase() with std::vector::erase()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + nHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Contains() with std::find() patternHenry Wilson
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-01-17Fix: Some code and comment typosnikolas
Found with codespell
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
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-04-30Codechange: Use TileAddBy(Diag)Dir when possible.J0anJosep
2017-08-20(svn r27894) -Fix [FS#6608]: Typo fix in STATIOV_* string names (Wolf01)alberth
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-11-18(svn r27063) -Fix [FS#6172]: Some lists did not use natural string sorting.frosch
2014-10-21(svn r27030) -Fix: crash when having the vehicle list opened from a buoy or ↵rubidium
oil rig while the buoy/oil rig gets its final removal (i.e. the sign gets removed)
2014-10-05(svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵peter1138
buttons with non-static width.
2014-10-04(svn r26957) -Codechange: Spread the station cargo icons out by GUI scale.peter1138
2014-05-11(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do ↵rubidium
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
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-11-24(svn r26083) -Codechange: pass the CommandContainer for the station joiner ↵rubidium
around using a reference instead of by-value
2013-08-18(svn r25731) -Fix [FS#5692]: Minor RTL alignment issues. (sbr)frosch
2013-06-22(svn r25432) -Fix [FS#5608]: clang compiler error; sometimes it's more ↵rubidium
strict than others
2013-06-18(svn r25426) -Fix: highlight the right entry in the sorting selector in ↵fonsinchen
station view window
2013-06-15(svn r25405) -Feature-ish: differentiate between total waiting cargo count ↵rubidium
and available (not reserved) cargo count in the station list -Change: sort based on the cargo count, not the cargo value
2013-06-09(svn r25365) -Feature: show cargo by next hops and final destinations in the ↵fonsinchen
station GUI
2013-06-09(svn r25361) -Feature: distribute cargo according to plan given by linkgraphfonsinchen
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.