Re: Having issues with resizing my SDL::App

2006-08-10 Thread Andy Bakun
On Thu, 2006-08-10 at 22:48 +0200, Dennis Meinen wrote: > my $app = new SDL::App( > ... > -resizeable, > ); >... > $app->resize($newx, $newy); > > > But this wont work > Are there any other steps required? It looks like you have to use -resizeable=>1 as SDL::App.pm checks for tr

Having issues with resizing my SDL::App

2006-08-10 Thread Dennis Meinen
Hi I'm currently working on a simple game. But now I'm trying to resize the SDL::App windows by using the following code my $app = new SDL::App( -title=>$title, -width=>800, -height=>600, -depth=>32, -flags=>SDL_DOUBLEBUF | SDL_HWSURFACE | SDL_HWACCEL, -resizeable, ); $newx=6