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

Function TouchFooter2

src/display.cpp:159–166  ·  view source on GitHub ↗

** Function name: TouchFooter ** Description: Draw touch screen footer ***************************************************************************************/

Source from the content-addressed store, hash-verified

157** Description: Draw touch screen footer
158***************************************************************************************/
159void TouchFooter2(uint16_t color) {
160 tft->drawRoundRect(5 + RES, tftHeight + 2, tftWidth - 10 - 2 * RES, (FM * LH + 4), 5, color);
161 tft->setTextColor(color);
162 tft->setTextSize(FM);
163 tft->drawString("<<", 11 + RES, tftHeight + 4);
164 tft->drawCentreString("LAUNCHER", tftWidth / 2, tftHeight + 4, 1);
165 tft->drawRightString(">>", tftWidth - (RES + 11), tftHeight + 4, 1);
166}
167
168/***************************************************************************************
169** Function name: BootScreen

Callers 2

initDisplayFunction · 0.85
main.cppFile · 0.85

Calls 6

drawRoundRectMethod · 0.45
setTextColorMethod · 0.45
setTextSizeMethod · 0.45
drawStringMethod · 0.45
drawCentreStringMethod · 0.45
drawRightStringMethod · 0.45

Tested by

no test coverage detected