void display_layout1_print_B4_SystemOff(Ucglib_ILI9341_18x240x320_HWSPI ucg, String text) { SERIAL_OUT.println("display_print_B4 [SystemOff]"); ucg.setFontMode(UCG_FONT_MODE_SOLID); ucg.setFont(FONT_SMALL); ucg.setFontPosBaseline(); setRosso(&ucg); ucg.setPrintPos(5, ucg.getHeight() - 5); ucg.print(text); }
void display_layout1_print_B3_ChildLock(Ucglib_ILI9341_18x240x320_HWSPI ucg, String text) { SERIAL_OUT.println("display_print_B4 [ChildClocked]"); SERIAL_OUT.println("display_print_B3"); ucg.setFontMode(UCG_FONT_MODE_SOLID); ucg.setFont(FONT_SMALL); ucg.setFontPosBaseline(); String str = text; const char * c = str.c_str(); setRosso(&ucg); ucg.setPrintPos(ucg.getWidth() - ucg.getStrWidth(c) - 5, ucg.getHeight() - 5); ucg.print(text); }
void Client::settaNumCarte(QString c) { lineEditCar->setText(c); if (c == "2") setRosso(lineEditCar); }