MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / drawDeviceBorder

Function drawDeviceBorder

src/display.cpp:906–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904 tft->display(false);
905}
906void drawDeviceBorder() {
907 tft->drawRoundRect(5, 5, tftWidth - 10, tftHeight - 10, 5, FGCOLOR);
908 tft->drawLine(5, (6 + 6 + FP * LH + 5), tftWidth - 6, (6 + 6 + FP * LH + 5), FGCOLOR);
909}
910
911void drawBatteryStatus(uint8_t bat) {
912 tft->drawRoundRect(tftWidth - 42 - RES, 7, 34, FP * LH + 9, 2, FGCOLOR);

Callers 1

drawMainMenuFunction · 0.85

Calls 2

drawRoundRectMethod · 0.45
drawLineMethod · 0.45

Tested by

no test coverage detected