From 2581f5e471333a35041e8709c0da6dba790ac617 Mon Sep 17 00:00:00 2001 From: cozman Date: Sat, 12 Jul 2003 09:30:31 +0000 Subject: [PATCH] fixed warning --- test/gewiTest00.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/gewiTest00.cpp b/test/gewiTest00.cpp index c38d876..de765d8 100755 --- a/test/gewiTest00.cpp +++ b/test/gewiTest00.cpp @@ -52,7 +52,7 @@ void Test1() GStaticText label; bg.Open("data/rainbow.bmp"); - bg.Resize(ze->Width(),ze->Height()); + bg.Resize(ze->DisplayWidth(),ze->DisplayHeight()); //opening the images// temp[0].Open("data/b1.bmp"); @@ -99,7 +99,7 @@ void Test1() txtButton.SetState(false); button.SetState(false); } - temp[2].SetAlpha(63+hSlider.GetPos()*64); + temp[2].SetAlpha(static_cast(63+hSlider.GetPos()*64)); bg.Draw(0,0); gewi->Display(); //draws everything