diff --git a/test/ZFontTest.cpp b/test/ZFontTest.cpp index 57293d3..0891a96 100644 --- a/test/ZFontTest.cpp +++ b/test/ZFontTest.cpp @@ -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 } diff --git a/test/ZImageTest.cpp b/test/ZImageTest.cpp index 6361303..57d7b34 100644 --- a/test/ZImageTest.cpp +++ b/test/ZImageTest.cpp @@ -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 } diff --git a/test/ZMouseTest.cpp b/test/ZMouseTest.cpp index 18c0dce..6c608d0 100644 --- a/test/ZMouseTest.cpp +++ b/test/ZMouseTest.cpp @@ -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 } diff --git a/test/ZMusicTest.cpp b/test/ZMusicTest.cpp index a9a7ff7..0cf646f 100644 --- a/test/ZMusicTest.cpp +++ b/test/ZMusicTest.cpp @@ -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 } } diff --git a/test/ZRectTest.cpp b/test/ZRectTest.cpp index adc1ca2..c6bb857 100644 --- a/test/ZRectTest.cpp +++ b/test/ZRectTest.cpp @@ -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()); } diff --git a/test/ZSoundTest.cpp b/test/ZSoundTest.cpp index 7b8b861..4011493 100644 --- a/test/ZSoundTest.cpp +++ b/test/ZSoundTest.cpp @@ -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 } diff --git a/test/ZTimerTest.cpp b/test/ZTimerTest.cpp index 6701d02..23b853b 100644 --- a/test/ZTimerTest.cpp +++ b/test/ZTimerTest.cpp @@ -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 }