MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getPaintToolColour

Function getPaintToolColour

src/OpenLoco/src/Ui/Windows/Vehicle.cpp:1845–1848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1843 }
1844
1845 static ColourScheme getPaintToolColour(Window& self)
1846 {
1847 return { ImageId(self.widgets[widx::paintColourPrimary].image).getPrimary(), ImageId(self.widgets[widx::paintColourSecondary].image).getPrimary() };
1848 }
1849
1850 // 0x004B3542
1851 static void draw(Window& self, Gfx::DrawingContext& drawingCtx)

Callers 3

paintEntireTrainFunction · 0.85
paintToolDownFunction · 0.85
paintToolDownScrollFunction · 0.85

Calls 2

ImageIdClass · 0.85
getPrimaryMethod · 0.80

Tested by

no test coverage detected