Show what a coupler connects as a stripe per connection

Under the coupler's icon runs a stripe for each connection in its own colour -
brake red, multiple-unit blue, high voltage yellow and so on - so the strip
tells the kinds of coupling apart, not just coupled from free. The editor's
checkboxes carry the same colours as the legend.

The ambient coolant flag leaves the coupler flyout: it is the vehicle's and
already sits in the vehicle panel, beside the crew and the wagon number.
This commit is contained in:
maj00r
2026-10-04 19:12:49 +02:00
parent ee87055eed
commit 868e07ff89
3 changed files with 69 additions and 38 deletions

View File

@@ -196,7 +196,7 @@ public sealed class VehicleDetails
int bit = 1 << i;
var check = new CheckBox
{
Content = App.Loc[CouplingBits.BitKeys[i]],
Content = CouplerLook.BitLabel(i),
IsChecked = d.Coupling.Has(bit),
Classes = { "Checklist" }
};