Tue Aug 01, 2017 8:43 pm
Tue Aug 01, 2017 10:16 pm
void GrafxT3::popup(const __FlashStringHelper* text, uint8_t duration){
if (popupTimeLeft < millis()) {
popupText = text;
popupTimeLeft = millis() + duration * 1000;
}
}
void GrafxT3::updatePopup(){
if (millis() < popupTimeLeft){
int yOffset = 0;
setTextSize(1);
// setColor(WHITE);
fillRoundRect(0,GrafxT3_TFTHEIGHT-textsize+yOffset-3,320,textsize+3,3,WHITE);
// setColor(BLACK);
drawRoundRect(0,GrafxT3_TFTHEIGHT-textsize+yOffset-3,320,textsize+3,3,BLACK);
setCursor( 4, GrafxT3_TFTHEIGHT-textsize+yOffset-1);
print(popupText);
}
Sat Aug 12, 2017 9:22 am
Wed Aug 23, 2017 9:54 pm
Sat Sep 16, 2017 8:15 am
Fri Nov 03, 2017 6:27 am
Tue Nov 14, 2017 8:07 am
Sun Feb 04, 2018 5:36 am