X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Events.html-inc;h=74e0c4148cb35e41d82c3d5c8badb283831face3;hb=5ce48b7ebb54cf63bf5fb7ffb7d5f9213f8d45a9;hp=1a099192d294703449286957f2350fcf2601b7d3;hpb=4e623c18cf33fa411ea5a6230b54f4ef25cdadbc;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-Events.html-inc b/pages/SDL-Events.html-inc index 1a09919..74e0c41 100644 --- a/pages/SDL-Events.html-inc +++ b/pages/SDL-Events.html-inc @@ -93,11 +93,11 @@

CONSTANTS

Top

-

The constants are not exported by default. You can export them into your namespace by doing:

-
 use SDL::Events ':all';
+

The constants are exported by default. You can avoid this by doing:

+
 use SDL::Events ();
 
 
-

or access them directly:

+

and access them directly:

 SDL::Events::SDL_ACTIVEEVENT;
 
 
@@ -359,7 +359,7 @@ The event is copied into the queue, and the caller may dispose of the memory poi

to filter the event return a 0, to pass the filter return a 1.

-

One Caveat is if you are filterign SDL_QUITEVENT the event will be filtered if it is non-intterupt call ( Window closes normally ). If it is a interrupt SDL_QUITEVENT it will be process on the next event poll.

+

One Caveat is if you are filtering SDL_QUIT the event will be filtered if it is non-intterupt call ( Window closes normally ). If it is a interrupt SDL_QUIT it will be process on the next event poll.

Events pushed onto to the queue with SDL::Events::push_events or SDL::Events::peep_events do not get filtered.

This callback may run in a different thread.