I have the following code, and I want it to display the background then have it display some text on top, but it does not display the text just the background. Thank you for any assistance.
// the main entry point for the application is this function
void DarkGDK ( void )
{
dbSyncOn();
dbSyncRate(60);
dbLoadImage("BackGround.bmp", 1);
dbSprite(1,0,0,1);
dbInk(dbRGB(175, 175, 175), 0);
dbSetTextFont("C:\\Windows\\Fonts\\Arial.ttf");
dbDisableEscapeKey();
while ( LoopGDK ( ) )
{
if ( dbEscapeKey ( ) )
break;
dbText(50,50, "Testing text...");
// here we make a call to update the contents of the screen
dbSync ( );
}
// and now everything is ready to return back to Windows
return;
}
and as you may guess it doesnt display the text. thanks for any help.