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.
|
|
|
|
ship/aircraft list. (#9102)
|
|
(#8926)
|
|
Remove caching from vehicle group object. and recalculate it whenever
required instead.
|
|
interface zoom level.
|
|
|
|
* Fix: Missing or needed spaces
* Codechange: Remove space
* Codechange: Remove space
* Codechange: More missing spaces
* Codechange: Missing spaces
* Codechange: Remove space
* Codechange: Remove space
|
|
|
|
|
|
Co-authored-by: Jonathan G Rennison <j.g.rennison@gmail.com>
|
|
|
|
|
|
|
|
This applies to all kinds of vehicle lists, as well as the "vehicle groups" window.
|
|
This is in preparation for the new UI feature that allows grouping by shared orders.
|
|
|
|
|
|
the vehicle group window focused on the vehicle's group.
|
|
window opens the vehicle group window, then selects and scrolls to the vehicle's group.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
|
|
std::vector::erase()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
timers to work with milliseconds instead of ticks.
|
|
|
|
|
|
|
|
|
|
'decrease' (adf88)
|
|
|
|
such.
|
|
|
|
constructor, to make conversions more explicit.
|
|
|