fixed docs for SDL::Video::list_modes
[sdlgit/SDL-Site.git] / pages / SDL-Events.html-inc
index 1a09919..74e0c41 100644 (file)
 </div>
 <h1 id="CONSTANTS">CONSTANTS</h1><p><a href="#TOP" class="toplink">Top</a></p>
 <div id="CONSTANTS_CONTENT">
-<p>The constants are not exported by default. You can export them into your namespace by doing:</p>
-<pre> use SDL::Events ':all';
+<p>The constants are exported by default. You can avoid this by doing:</p>
+<pre> use SDL::Events ();
 
 </pre>
-<p>or access them directly:</p>
+<p>and access them directly:</p>
 <pre> SDL::Events::SDL_ACTIVEEVENT;
 
 </pre>
@@ -359,7 +359,7 @@ The event is copied into the queue, and the caller may dispose of the memory poi
 
 </pre>
 <p>to filter the event return a 0, to pass the filter return a 1. </p>
-<p>One <strong>Caveat</strong> 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. </p>
+<p>One <strong>Caveat</strong> 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. </p>
 <p>Events pushed onto to the queue with <a href="/SDL-Events.html#push_events">SDL::Events::push_events</a> or <a href="/SDL-Events.html#peep_events">SDL::Events::peep_events</a> do not get filtered.</p>
 <p>This callback may run in a different thread. </p>