Thanks for the replies, however even if I put dbLine AFTER dbSprite command, I still do not see the line. Like in here
void DarkGDK ( void )
{
dbCreateAnimatedSprite ( 1, "animatedsprite.png", 4, 4, 1 );
dbSprite ( 1, 111, 111, 1 );
dbLine (66, 5, 3, 300 );
char* str;
dbSetCursor ( 50, 50 );
str=dbInput();
I guess when dbSync is Off then the creation of this blue background happens later, when GDK decides to update the window...
But I tried the following:
dbSyncOn ( );
dbCreateAnimatedSprite ( 1, "animatedsprite.png", 4, 4, 1 );
dbSprite ( 1, 111, 111, 1 );
dbSync ( );
dbLine (66, 5, 3, 300 );
dbSync ( );
char* str;
dbSetCursor ( 50, 50 );
str=dbInput();
And still NO success! I see very briefly white line drawn on black background, and then blue background takes everything erasing the line.
BTW, is there any way on these forums to preview the message?