home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / man / SDL_ResizeEvent.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_ResizeEvent"("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_ResizeEvent- Window resize event structure 
  13. <h2><a name='sect1' href='#toc1'>Structure Definition</a></h2>
  14. <p>
  15. <br>
  16. <pre>CWtypedef struct{
  17.   Uint8 type;
  18.   int w, h;
  19. } SDL_ResizeEvent;
  20. </pre><p>
  21.  
  22. <h2><a name='sect2' href='#toc2'>Structure Data</a></h2>
  23.  
  24. <dl>
  25.  
  26. <dt><b>type</b> </dt>
  27. <dd><b>SDL_VIDEORESIZE</b> </dd>
  28.  
  29. <dt><b>w</b>, <b>h</b> </dt>
  30. <dd>New width and height of the window
  31. </dd>
  32. </dl>
  33.  
  34. <h2><a name='sect3' href='#toc3'>Description</a></h2>
  35. <p>
  36. <b>SDL_ResizeEvent</b> is a member of the <i><b>SDL_Event</b></i> union and is used
  37. when an event of type <b>SDL_VIDEORESIZE</b> is reported. <p>
  38. When <b>SDL_RESIZABLE</b> is
  39. passed as a <b>flag</b> to <i><b>SDL_SetVideoMode</b></i> the user is allowed to resize the
  40. applications window. When the window is resized an <b>SDL_VIDEORESIZE</b> is report,
  41. with the new window width and height values stored in <b>w</b> and <b>h</b>, respectively.
  42. When an <b>SDL_VIDEORESIZE</b> is received the window should be resized to the
  43. new dimensions using <i><b>SDL_SetVideoMode</b></i>. 
  44. <h2><a name='sect4' href='#toc4'>See Also</a></h2>
  45. <p>
  46. <i><b>SDL_Event</b></i>, <i><b>SDL_SetVideoMode</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.