Age | Commit message (Collapse) | Author |
|
|
|
|
|
Since pixel dimensions in SetPadding() are scaled by GUI size, padding for inset viewports was excessive.
Instead, automatically apply padding for WWT_INSET at widget level. This applies to all widgets inside a WWT_INSET, which in all instances is a NWID_VIEWPORT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Can be found at town information > local authority window
Layout for button is same as Graph Keys
Turn on/off for every town individually
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Change: Use name of cargo instead of Passengers/Mail in town statistics.
* Cleanup: Remove strings from all language files.
|
|
|
|
|
|
|
|
authority window did not auto-resize according to their content when they were positioned at the bottom of the screen. (Eearslya)
|
|
cost-estimating the founding.
|
|
buttons with non-static width.
|
|
GUI did not consider margins.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
effect. Rename the enum items to properly reflect their purpose.
|
|
not tied to funding a town.
|
|
reversed compared to the icon
|
|
window to its default size.
|
|
|
|
after construction.
|
|
window (based on work by sbr).
|