ClearScreen to Clear

This commit is contained in:
James Turk 2002-12-12 02:57:32 +00:00
parent 61fc874d70
commit 8c475bd065
7 changed files with 8 additions and 8 deletions

View File

@ -69,7 +69,7 @@ void Test()
//draw the images//
for(int i=0; i <= 4; i++)
text[i].Draw(10.0f*i,50.0f*i);
engine->UpdateScreen(); //update the screen
engine->Update(); //update the screen
} while(!engine->QuitRequested()); //quit only when engine has encountered a quit request
}

View File

@ -73,7 +73,7 @@ void Test()
image3.Draw(200,0);
textImage.Draw(0,100);
engine->UpdateScreen(); //update the screen
engine->Update(); //update the screen
} while(!engine->QuitRequested()); //quit only when engine has encountered a quit request
}

View File

@ -79,7 +79,7 @@ void Test()
text[2].Draw(0,0);
cursor.Draw(engine->MouseX()-8.0f,engine->MouseY()-8.0f);
engine->UpdateScreen(); //update the screen
engine->Update(); //update the screen
} while(!engine->QuitRequested()); //quit only when engine has encountered a quit request
}

View File

@ -45,7 +45,7 @@ void Test()
engine->CreateDisplay("ZMusic Test");
font.DrawText("Music.ogg does not exist, please read music.txt.",text[0]);
text[0].Draw(0,0);
engine->UpdateScreen();
engine->Update();
do
{
engine->CheckEvents();
@ -93,7 +93,7 @@ void Test()
engine->Clear(); //clear screen
for(int i=0; i < 4; i++)
text[i].Draw(0,i*50.0f);
engine->UpdateScreen(); //update the screen
engine->Update(); //update the screen
} while(!engine->QuitRequested()); //quit only when engine has encountered a quit request
}
}

View File

@ -74,7 +74,7 @@ void Test()
moveRect.Draw(255,0,0,128);
stillRect.Draw(0,0,255,128);
moveRect.Intersection(stillRect).Draw(0,255,0);
engine->UpdateScreen();
engine->Update();
} while(!engine->QuitRequested());
}

View File

@ -92,7 +92,7 @@ void Test()
engine->Clear(); //clear screen
for(int i=0; i < 6; i++)
text[i].Draw(0,i*50.0f);
engine->UpdateScreen(); //update the screen
engine->Update(); //update the screen
} while(!engine->QuitRequested()); //quit only when engine has encountered a quit request
}

View File

@ -109,7 +109,7 @@ void Test()
for(int i=0; i <= 4; i++)
text[i].Draw(0,i*50.0f);
engine->UpdateScreen(); //update the screen
engine->Update(); //update the screen
} while(!engine->QuitRequested()); //quit only when engine has encountered a quit request
}