home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / man / SDL_QuitEvent.3 < prev    next >
Encoding:
Text File  |  2006-09-20  |  1.8 KB  |  63 lines

  1. <!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
  2. <!-- available at http://polyglotman.sourceforge.net/ -->
  3.  
  4. <html>
  5. <head>
  6. <title>"SDL_QuitEvent"("3") manual page</title>
  7. </head>
  8. <body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
  9. <a href='#toc'>Table of Contents</a><p>
  10.  
  11. <h2><a name='sect0' href='#toc0'>Name</a></h2>
  12. SDL_QuitEvent- Quit requested event 
  13. <h2><a name='sect1' href='#toc1'>Structure Definition</a></h2>
  14. <p>
  15. <br>
  16. <pre>CWtypedef struct{
  17.   Uint8 type
  18. } SDL_QuitEvent;
  19. </pre><p>
  20.  
  21. <h2><a name='sect2' href='#toc2'>Structure Data</a></h2>
  22.  
  23. <dl>
  24.  
  25. <dt><b>type</b> </dt>
  26. <dd><b>SDL_QUIT</b> </dd>
  27. </dl>
  28.  
  29. <h2><a name='sect3' href='#toc3'>Description</a></h2>
  30. <p>
  31. <b>SDL_QuitEvent</b> is a member of the
  32. <i><b>SDL_Event</b></i> union and is used whan an event of type <b>SDL_QUIT</b> is reported.
  33. <p>
  34. As can be seen, the SDL_QuitEvent structure serves no useful purpose. The
  35. event itself, on the other hand, is very important. If you filter out or
  36. ignore a quit event then it is impossible for the user to close the window.
  37. On the other hand, if you do accept a quit event then the application window
  38. will be closed, and screen updates will still report success event though
  39. the application will no longer be visible. <p>
  40. <blockquote><b>Note:   <p>
  41. The macro <b>SDL_QuitRequested</b></b>
  42. will return non-zero if a quit event is pending </blockquote>
  43.  
  44. <h2><a name='sect4' href='#toc4'>See Also</a></h2>
  45. <p>
  46. <i><b>SDL_Event</b></i>, <i><b>SDL_SetEventFilter</b></i>
  47.  
  48. <!--
  49.   
  50.  <p>
  51.  
  52. <hr><p>
  53. <a name='toc'><b>Table of Contents</b></a><p>
  54. <ul>
  55. <li><a name='toc0' href='#sect0'>Name</a></li>
  56. <li><a name='toc1' href='#sect1'>Structure Definition</a></li>
  57. <li><a name='toc2' href='#sect2'>Structure Data</a></li>
  58. <li><a name='toc3' href='#sect3'>Description</a></li>
  59. <li><a name='toc4' href='#sect4'>See Also</a></li>
  60. </ul>
  61. </body>
  62. </html>
  63.