fixed warning
This commit is contained in:
parent
a44d42aff7
commit
2581f5e471
@ -52,7 +52,7 @@ void Test1()
|
|||||||
GStaticText label;
|
GStaticText label;
|
||||||
|
|
||||||
bg.Open("data/rainbow.bmp");
|
bg.Open("data/rainbow.bmp");
|
||||||
bg.Resize(ze->Width(),ze->Height());
|
bg.Resize(ze->DisplayWidth(),ze->DisplayHeight());
|
||||||
|
|
||||||
//opening the images//
|
//opening the images//
|
||||||
temp[0].Open("data/b1.bmp");
|
temp[0].Open("data/b1.bmp");
|
||||||
@ -99,7 +99,7 @@ void Test1()
|
|||||||
txtButton.SetState(false);
|
txtButton.SetState(false);
|
||||||
button.SetState(false);
|
button.SetState(false);
|
||||||
}
|
}
|
||||||
temp[2].SetAlpha(63+hSlider.GetPos()*64);
|
temp[2].SetAlpha(static_cast<Uint8>(63+hSlider.GetPos()*64));
|
||||||
|
|
||||||
bg.Draw(0,0);
|
bg.Draw(0,0);
|
||||||
gewi->Display(); //draws everything
|
gewi->Display(); //draws everything
|
||||||
|
Loading…
Reference in New Issue
Block a user