mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 07:37:37 +03:00
unfilled positive terminal.
This commit is contained in:
parent
3d6c180e5f
commit
9431cdab14
@ -27,7 +27,8 @@ void ScreenComponents::drawBattery(const GfxRenderer& renderer, const int left,
|
|||||||
renderer.drawLine(x, y + 1, x, y + batteryHeight - 2);
|
renderer.drawLine(x, y + 1, x, y + batteryHeight - 2);
|
||||||
// Battery end
|
// Battery end
|
||||||
renderer.drawLine(x + batteryWidth - 2, y + 1, x + batteryWidth - 2, y + batteryHeight - 2);
|
renderer.drawLine(x + batteryWidth - 2, y + 1, x + batteryWidth - 2, y + batteryHeight - 2);
|
||||||
renderer.drawLine(x + batteryWidth - 1, y + 3, x + batteryWidth - 1, y + batteryHeight - 4);
|
renderer.drawPixel(x + batteryWidth - 1, y + 3);
|
||||||
|
renderer.drawPixel(x + batteryWidth - 1, y + batteryHeight - 4);
|
||||||
renderer.drawLine(x + batteryWidth - 0, y + 4, x + batteryWidth - 0, y + batteryHeight - 5);
|
renderer.drawLine(x + batteryWidth - 0, y + 4, x + batteryWidth - 0, y + batteryHeight - 5);
|
||||||
|
|
||||||
// The +1 is to round up, so that we always fill at least one pixel
|
// The +1 is to round up, so that we always fill at least one pixel
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user