popup bubble dialog function will not display

Hi guys

I have been working on a color gaming system using arduino driven devices and im almost finished with it. I just have two more functions to complete. A pop up bubble function that allows users to type text in and display it as dialog bubbles. the original function below was created for the nokia 5110 lcd screen but my library uses an ili9341 color tft. Now ive tried to update the function but I cant get it to work. it compiles but it wont display. I was hoping some one could look at it see if I did something wrong.

here is the OG

void Gamebuino::popup(const __FlashStringHelper* text, uint8_t duration){
#if (ENABLE_GUI > 0)
	popupText = text;
	popupTimeLeft = duration+12;
#endif
}

void Gamebuino::updatePopup(){
#if (ENABLE_GUI > 0)
	if (popupTimeLeft){
		uint8_t yOffset = 0;
		if(popupTimeLeft<12){
			yOffset = 12-popupTimeLeft;
		}
		display.fontSize = 1;
		display.setColor(WHITE);
		display.fillRoundRect(0,LCDHEIGHT-display.fontHeight+yOffset-3,84,display.fontHeight+3,3);
		display.setColor(BLACK);
		display.drawRoundRect(0,LCDHEIGHT-display.fontHeight+yOffset-3,84,display.fontHeight+3,3);
		display.cursorX = 4;
		display.cursorY = LCDHEIGHT-display.fontHeight+yOffset-1;
		display.print(popupText);
		popupTimeLeft--;
	}
#endif
}

here is my updated version. You will see that I removed the enable gui command since my library doesn't include a gui.

  void GrafxT3::popup(const __FlashStringHelper* text, uint8_t duration){
	popupText = text;
	popupTimeLeft = duration+12;
}

void GrafxT3::updatePopup(){
	if (popupTimeLeft){
		int yOffset = 0;
		if(popupTimeLeft<12){
			yOffset = 12-popupTimeLeft;
		}
		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);
		popupTimeLeft--;
	}
}

my libraries are here.....