From: kthakore Date: Thu, 5 Aug 2010 20:24:44 +0000 (+0000) Subject: Updated docs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=33a8f248a8db04af5001502a1a2f3cd1c28e7677;p=sdlgit%2FSDL-Site.git Updated docs --- diff --git a/pages/SDL-Event.html-inc b/pages/SDL-Event.html-inc index b1f25a9..c8fc0d7 100644 --- a/pages/SDL-Event.html-inc +++ b/pages/SDL-Event.html-inc @@ -96,17 +96,17 @@

SYNOPSIS

Top

-
 use SDL::Event;                             # for the event object itself
- use SDL::Events qw(pump_events poll_event); # functions for event queue handling
+
 use SDL::Event;  # for the event object itself
+ use SDL::Events; # functions for event queue handling
 
  SDL::init(SDL_INIT_VIDEO);
  my $event = SDL::Event->new();
 
  while(1)
  {
-     pump_events();
+     SDL::Events::pump_events();
 
-     if(poll_event($event))
+     if(SDL::Events::poll_event($event))
      {
         if($event->type == SDL_MOUSEBUTTONDOWN)
         {
diff --git a/pages/SDLx-Surface.html-inc b/pages/SDLx-Surface.html-inc
index 873310b..e2b5196 100644
--- a/pages/SDLx-Surface.html-inc
+++ b/pages/SDLx-Surface.html-inc
@@ -19,7 +19,8 @@
 
 
 
  • EXTENSIONS -