MCPcopy Create free account
hub / github.com/BruceDevices/firmware / drawGpsSmall

Function drawGpsSmall

src/core/display.cpp:1098–1103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1096}
1097
1098void drawGpsSmall(int x, int y) {
1099 tft.fillRect(x, y, 16, 16, bruceConfig.bgColor);
1100 tft.drawEllipse(x + 8, y + 13, 4, 3, bruceConfig.priColor);
1101 tft.drawArc(x + 8, y + 5, 5, 2, 0, 360, bruceConfig.priColor, bruceConfig.bgColor);
1102 tft.fillTriangle(x + 8, y + 14, x + 4, y + 8, x + 12, y + 8, bruceConfig.priColor);
1103}
1104
1105void drawCreditCard(int x, int y) {
1106 tft.fillRect(x, y, 70, 50, bruceConfig.bgColor);

Callers 1

drawStatusBarFunction · 0.85

Calls 4

fillRectMethod · 0.45
drawEllipseMethod · 0.45
drawArcMethod · 0.45
fillTriangleMethod · 0.45

Tested by

no test coverage detected