X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0020.html-inc;h=1945937aa5a7d7c8d752ce5a2e560b4c3f8a62d7;hb=1d5d4d44a3acf89f7820195b5016f4ebc4489250;hp=e65be37dd7211e92b433042690e9c72fb1ba4899;hpb=65a973147068b3edbbb232aa50fd53a79d7daaef;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0020.html-inc b/pages/blog-0020.html-inc index e65be37..1945937 100644 --- a/pages/blog-0020.html-inc +++ b/pages/blog-0020.html-inc @@ -1,36 +1,38 @@
#!/usr/bin/env perl - -use SDL; -use SDL::Events; -use SDL::Event; -use SDL::Video; - -SDL::init(SDL_INIT_VIDEO); +
+
+
+
+Rome was not built,
+in one day,feature creep,
+existed back then too.
+
+
+kmx++ recently worked on a brand new Build system for Alien::SDL and SDL_perl. We have managed to test it in Windows and Linux environments. We would still appreciate testing on all environments. However none of us have a shiny Mac to try this on. So if you have a Mac please consider testing the following:
+
- Download Alien::SDL
-my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE ); -my $event = SDL::Event->new(); ++
- install it
+- select build by source
+- Download SDL::perl
-while(1) -{ - SDL::Events::pump_events(); - - if(SDL::Events::poll_event($event) && $event->type == SDL_ACTIVEEVENT) - { - print "Hello Mouse!!!\n" if ($event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) ); - print "Bye Mouse!!!\n" if (!$event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) ); - } - - exit if($event->type == SDL_QUIT); -} -