PVRShellAPI_8h-source.html 6.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  3. <title>PowerVR SDK</title>
  4. <link href="doxygen.css" rel="stylesheet" type="text/css">
  5. <link href="tabs.css" rel="stylesheet" type="text/css">
  6. <table width="100%">
  7. <tr>
  8. <td width="33%">
  9. <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
  10. </td>
  11. <td width="33%">
  12. <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
  13. </td>
  14. <td width="34%">
  15. <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
  16. </td>
  17. </tr>
  18. </table>
  19. <hr>
  20. </head><body>
  21. <!-- Generated by Doxygen 1.3.6 -->
  22. <div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
  23. <h1>PVRShellAPI.h</h1><a href="PVRShellAPI_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/******************************************************************************</span>
  24. 00002 <span class="comment"></span>
  25. 00003 <span class="comment"> @File PVRShellAPI.h</span>
  26. 00004 <span class="comment"></span>
  27. 00005 <span class="comment"> @Title Qt/PVRShellAPI</span>
  28. 00006 <span class="comment"></span>
  29. 00007 <span class="comment"> @Version </span>
  30. 00008 <span class="comment"></span>
  31. 00009 <span class="comment"> @Copyright Copyright (C) Imagination Technologies Limited.</span>
  32. 00010 <span class="comment"></span>
  33. 00011 <span class="comment"> @Platform Independent</span>
  34. 00012 <span class="comment"></span>
  35. 00013 <span class="comment"> @Description Makes programming for 3D APIs easier by wrapping surface</span>
  36. 00014 <span class="comment"> initialization, Texture allocation and other functions for use by a demo.</span>
  37. 00015 <span class="comment"></span>
  38. 00016 <span class="comment">******************************************************************************/</span>
  39. 00017
  40. 00018 <span class="preprocessor">#ifndef __PVRSHELLAPI_H_</span>
  41. 00019 <span class="preprocessor"></span><span class="preprocessor">#define __PVRSHELLAPI_H_</span>
  42. 00020 <span class="preprocessor"></span>
  43. 00021 <span class="comment">/****************************************************************************</span>
  44. 00022 <span class="comment">** 3D API header files</span>
  45. 00023 <span class="comment">****************************************************************************/</span>
  46. 00024 <span class="preprocessor">#include &lt;QGLWidget&gt;</span>
  47. 00025
  48. 00026 <span class="keyword">class </span><a class="code" href="classPVRShell.html">PVRShell</a>;
  49. 00027 <span class="keyword">struct </span><a class="code" href="structPVRShellData.html">PVRShellData</a>;
  50. 00028
  51. 00029 <span class="comment">/*!*************************************************************************</span>
  52. 00030 <span class="comment"> @Class PVRShellInitAPI</span>
  53. 00031 <span class="comment"> @Brief Initialisation interface with specific API.</span>
  54. 00032 <span class="comment">****************************************************************************/</span>
  55. 00033 <span class="keyword">class </span><a class="code" href="classPVRShellGLWidget.html">PVRShellGLWidget</a> : <span class="keyword">public</span> QGLWidget
  56. 00034 {
  57. 00035 Q_OBJECT
  58. 00036 <span class="keyword">public</span>:
  59. <a name="l00037"></a><a class="code" href="classPVRShellGLWidget.html">00037</a> <a class="code" href="classPVRShellGLWidget.html#a0">PVRShellGLWidget</a>(QWidget *parent, <a class="code" href="classPVRShell.html">PVRShell</a> * pShell, <span class="keyword">const</span> <a class="code" href="structPVRShellData.html">PVRShellData</a> * <span class="keyword">const</span> pData);
  60. 00038 <a class="code" href="classPVRShellGLWidget.html#a1">~PVRShellGLWidget</a>();
  61. 00039 <span class="keywordtype">void</span> <a class="code" href="classPVRShellGLWidget.html#a2">resizeGL</a>(<span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);
  62. 00040 QSize <a class="code" href="classPVRShellGLWidget.html#a3">sizeHint</a>();
  63. 00041
  64. 00042 <span class="keyword">protected</span>:
  65. 00043 <a class="code" href="classPVRShell.html">PVRShell</a> *<a class="code" href="classPVRShellGLWidget.html#p0">m_pShell</a>;
  66. 00044 };
  67. 00045
  68. 00046 <span class="comment">/*!*************************************************************************</span>
  69. <a name="l00047"></a><a class="code" href="classPVRShellGLWidget.html#p0">00047</a> <span class="comment"> @Class PVRShellInitAPI</span>
  70. 00048 <span class="comment"> @Brief Initialisation interface with specific API.</span>
  71. 00049 <span class="comment">****************************************************************************/</span>
  72. 00050 <span class="keyword">class </span><a class="code" href="classPVRShellInitAPI.html">PVRShellInitAPI</a>
  73. 00051 {
  74. 00052 <span class="keyword">public</span>:
  75. 00053 <a class="code" href="classPVRShellGLWidget.html">PVRShellGLWidget</a> *m_pGLWidget;
  76. <a name="l00054"></a><a class="code" href="classPVRShellInitAPI.html">00054</a> };
  77. 00055
  78. 00056 <span class="preprocessor">#endif // __PVRSHELLAPI_H_</span>
  79. <a name="l00057"></a><a class="code" href="classPVRShellInitAPI.html#o0">00057</a> <span class="preprocessor"></span>
  80. 00058 <span class="comment">/*****************************************************************************</span>
  81. 00059 <span class="comment"> End of file (PVRShellAPI.h)</span>
  82. 00060 <span class="comment">*****************************************************************************/</span>
  83. 00061
  84. 00062
  85. </pre></div><br>
  86. <br>
  87. <P align=left><FONT size=2><STRONG><A
  88. href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
  89. 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
  90. <hr>
  91. <address style="align: left;"><small><FONT color=f0f>
  92. Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
  93. </body>
  94. </html>