Age | Commit message (Collapse) | Author |
|
Similar code is already repeated in other locations.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
|
|
|
|
This is to avoid needing to expensively regenerate name strings on
every comparison when sorting by name in the town/station/industry
list windows.
|
|
|
|
|
|
|
|
parts.
|
|
|
|
|
|
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Found with codespell
|
|
|
|
timers to work with milliseconds instead of ticks.
|
|
|
|
|
|
|
|
|
|
conversions in initializer lists.
|
|
ScaleGUITrad().
|
|
|
|
oil rig while the buoy/oil rig gets its final removal (i.e. the sign gets removed)
|
|
buttons with non-static width.
|
|
|
|
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
around using a reference instead of by-value
|
|
|
|
strict than others
|
|
station view window
|
|
and available (not reserved) cargo count in the station list
-Change: sort based on the cargo count, not the cargo value
|
|
station GUI
|
|
|
|
window to its default size.
|
|
|