source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1DDVideoModeList.html @ 657

Revision 657, 15.2 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>Ogre::DDVideoModeList class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</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="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::DDVideoModeList Class Reference</h1>Encapsulates enumeration of DirectDraw video modes. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreDDVideoModeList_8h-source.html">OgreDDVideoModeList.h</a>&gt;</code>
14<p>
15<a href="classOgre_1_1DDVideoModeList-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
16<tr><td></td></tr>
17<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
18<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeLista0">DDVideoModeList</a> (LPDIRECTDRAW7 <a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeListr0">lpDD7</a>)</td></tr>
19
20<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeLista1">~DDVideoModeList</a> ()</td></tr>
21
22<tr><td class="memItemLeft" nowrap align=right valign=top>BOOL&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeLista2">enumerate</a> (void)</td></tr>
23
24<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1DDVideoMode.html">DDVideoMode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeLista3">item</a> (int index)</td></tr>
25
26<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeLista4">count</a> (void)</td></tr>
27
28<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1DDVideoMode.html">DDVideoMode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeLista5">getClosestMatch</a> (int width, int height, int colourDepth)</td></tr>
29
30<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
31<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeListd0">AddMode</a> (LPDDSURFACEDESC2 lpDDSurfaceDesc)</td></tr>
32
33<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
34<tr><td class="memItemLeft" nowrap align=right valign=top>LPDIRECTDRAW7&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeListr0">lpDD7</a></td></tr>
35
36<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="classOgre_1_1DDVideoMode.html">DDVideoMode</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeListr1">mModeList</a></td></tr>
37
38<tr><td colspan=2><br><h2>Friends</h2></td></tr>
39<tr><td class="memItemLeft" nowrap align=right valign=top>HRESULT CALLBACK&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeListn0">DDEnumModesCallback</a> (LPDDSURFACEDESC2 lpDDSD2, LPVOID lpContext)</td></tr>
40
41</table>
42<hr><a name="_details"></a><h2>Detailed Description</h2>
43Encapsulates enumeration of DirectDraw video modes.
44<p>
45Utility class for <a class="el" href="classOgre_1_1D3DRenderSystem.html">D3DRenderSystem</a>.
46<p>
47
48<p>
49Definition at line <a class="el" href="OgreDDVideoModeList_8h-source.html#l00038">38</a> of file <a class="el" href="OgreDDVideoModeList_8h-source.html">OgreDDVideoModeList.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
50<a class="anchor" name="Ogre_1_1DDVideoModeLista0" doxytag="Ogre::DDVideoModeList::DDVideoModeList" ></a><p>
51<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
52  <tr>
53    <td class="mdRow">
54      <table cellpadding="0" cellspacing="0" border="0">
55        <tr>
56          <td class="md" nowrap valign="top"> Ogre::DDVideoModeList::DDVideoModeList </td>
57          <td class="md" valign="top">(&nbsp;</td>
58          <td class="md" nowrap valign="top">LPDIRECTDRAW7&nbsp;</td>
59          <td class="mdname1" valign="top" nowrap> <em>lpDD7</em>          </td>
60          <td class="md" valign="top">&nbsp;)&nbsp;</td>
61          <td class="md" nowrap></td>
62        </tr>
63
64      </table>
65    </td>
66  </tr>
67</table>
68<table cellspacing=5 cellpadding=0 border=0>
69  <tr>
70    <td>
71      &nbsp;
72    </td>
73    <td>
74
75<p>
76    </td>
77  </tr>
78</table>
79<a class="anchor" name="Ogre_1_1DDVideoModeLista1" doxytag="Ogre::DDVideoModeList::~DDVideoModeList" ></a><p>
80<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
81  <tr>
82    <td class="mdRow">
83      <table cellpadding="0" cellspacing="0" border="0">
84        <tr>
85          <td class="md" nowrap valign="top"> Ogre::DDVideoModeList::~<a class="el" href="classOgre_1_1DDVideoModeList.html">DDVideoModeList</a> </td>
86          <td class="md" valign="top">(&nbsp;</td>
87          <td class="mdname1" valign="top" nowrap>          </td>
88          <td class="md" valign="top">&nbsp;)&nbsp;</td>
89          <td class="md" nowrap></td>
90        </tr>
91
92      </table>
93    </td>
94  </tr>
95</table>
96<table cellspacing=5 cellpadding=0 border=0>
97  <tr>
98    <td>
99      &nbsp;
100    </td>
101    <td>
102
103<p>
104    </td>
105  </tr>
106</table>
107<hr><h2>Member Function Documentation</h2>
108<a class="anchor" name="Ogre_1_1DDVideoModeListd0" doxytag="Ogre::DDVideoModeList::AddMode" ></a><p>
109<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
110  <tr>
111    <td class="mdRow">
112      <table cellpadding="0" cellspacing="0" border="0">
113        <tr>
114          <td class="md" nowrap valign="top"> void Ogre::DDVideoModeList::AddMode </td>
115          <td class="md" valign="top">(&nbsp;</td>
116          <td class="md" nowrap valign="top">LPDDSURFACEDESC2&nbsp;</td>
117          <td class="mdname1" valign="top" nowrap> <em>lpDDSurfaceDesc</em>          </td>
118          <td class="md" valign="top">&nbsp;)&nbsp;</td>
119          <td class="md" nowrap><code> [private]</code></td>
120        </tr>
121
122      </table>
123    </td>
124  </tr>
125</table>
126<table cellspacing=5 cellpadding=0 border=0>
127  <tr>
128    <td>
129      &nbsp;
130    </td>
131    <td>
132
133<p>
134    </td>
135  </tr>
136</table>
137<a class="anchor" name="Ogre_1_1DDVideoModeLista4" doxytag="Ogre::DDVideoModeList::count" ></a><p>
138<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
139  <tr>
140    <td class="mdRow">
141      <table cellpadding="0" cellspacing="0" border="0">
142        <tr>
143          <td class="md" nowrap valign="top"> unsigned int Ogre::DDVideoModeList::count </td>
144          <td class="md" valign="top">(&nbsp;</td>
145          <td class="md" nowrap valign="top">void&nbsp;</td>
146          <td class="mdname1" valign="top" nowrap>          </td>
147          <td class="md" valign="top">&nbsp;)&nbsp;</td>
148          <td class="md" nowrap></td>
149        </tr>
150
151      </table>
152    </td>
153  </tr>
154</table>
155<table cellspacing=5 cellpadding=0 border=0>
156  <tr>
157    <td>
158      &nbsp;
159    </td>
160    <td>
161
162<p>
163    </td>
164  </tr>
165</table>
166<a class="anchor" name="Ogre_1_1DDVideoModeLista2" doxytag="Ogre::DDVideoModeList::enumerate" ></a><p>
167<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
168  <tr>
169    <td class="mdRow">
170      <table cellpadding="0" cellspacing="0" border="0">
171        <tr>
172          <td class="md" nowrap valign="top"> BOOL Ogre::DDVideoModeList::enumerate </td>
173          <td class="md" valign="top">(&nbsp;</td>
174          <td class="md" nowrap valign="top">void&nbsp;</td>
175          <td class="mdname1" valign="top" nowrap>          </td>
176          <td class="md" valign="top">&nbsp;)&nbsp;</td>
177          <td class="md" nowrap></td>
178        </tr>
179
180      </table>
181    </td>
182  </tr>
183</table>
184<table cellspacing=5 cellpadding=0 border=0>
185  <tr>
186    <td>
187      &nbsp;
188    </td>
189    <td>
190
191<p>
192    </td>
193  </tr>
194</table>
195<a class="anchor" name="Ogre_1_1DDVideoModeLista5" doxytag="Ogre::DDVideoModeList::getClosestMatch" ></a><p>
196<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
197  <tr>
198    <td class="mdRow">
199      <table cellpadding="0" cellspacing="0" border="0">
200        <tr>
201          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1DDVideoMode.html">DDVideoMode</a>* Ogre::DDVideoModeList::getClosestMatch </td>
202          <td class="md" valign="top">(&nbsp;</td>
203          <td class="md" nowrap valign="top">int&nbsp;</td>
204          <td class="mdname" nowrap> <em>width</em>, </td>
205        </tr>
206        <tr>
207          <td class="md" nowrap align="right"></td>
208          <td></td>
209          <td class="md" nowrap>int&nbsp;</td>
210          <td class="mdname" nowrap> <em>height</em>, </td>
211        </tr>
212        <tr>
213          <td class="md" nowrap align="right"></td>
214          <td></td>
215          <td class="md" nowrap>int&nbsp;</td>
216          <td class="mdname" nowrap> <em>colourDepth</em></td>
217        </tr>
218        <tr>
219          <td></td>
220          <td class="md">)&nbsp;</td>
221          <td class="md" colspan="2"></td>
222        </tr>
223
224      </table>
225    </td>
226  </tr>
227</table>
228<table cellspacing=5 cellpadding=0 border=0>
229  <tr>
230    <td>
231      &nbsp;
232    </td>
233    <td>
234
235<p>
236    </td>
237  </tr>
238</table>
239<a class="anchor" name="Ogre_1_1DDVideoModeLista3" doxytag="Ogre::DDVideoModeList::item" ></a><p>
240<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
241  <tr>
242    <td class="mdRow">
243      <table cellpadding="0" cellspacing="0" border="0">
244        <tr>
245          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1DDVideoMode.html">DDVideoMode</a>* Ogre::DDVideoModeList::item </td>
246          <td class="md" valign="top">(&nbsp;</td>
247          <td class="md" nowrap valign="top">int&nbsp;</td>
248          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
249          <td class="md" valign="top">&nbsp;)&nbsp;</td>
250          <td class="md" nowrap></td>
251        </tr>
252
253      </table>
254    </td>
255  </tr>
256</table>
257<table cellspacing=5 cellpadding=0 border=0>
258  <tr>
259    <td>
260      &nbsp;
261    </td>
262    <td>
263
264<p>
265    </td>
266  </tr>
267</table>
268<hr><h2>Friends And Related Function Documentation</h2>
269<a class="anchor" name="Ogre_1_1DDVideoModeListn0" doxytag="Ogre::DDVideoModeList::DDEnumModesCallback" ></a><p>
270<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
271  <tr>
272    <td class="mdRow">
273      <table cellpadding="0" cellspacing="0" border="0">
274        <tr>
275          <td class="md" nowrap valign="top"> HRESULT CALLBACK DDEnumModesCallback </td>
276          <td class="md" valign="top">(&nbsp;</td>
277          <td class="md" nowrap valign="top">LPDDSURFACEDESC2&nbsp;</td>
278          <td class="mdname" nowrap> <em>lpDDSD2</em>, </td>
279        </tr>
280        <tr>
281          <td class="md" nowrap align="right"></td>
282          <td></td>
283          <td class="md" nowrap>LPVOID&nbsp;</td>
284          <td class="mdname" nowrap> <em>lpContext</em></td>
285        </tr>
286        <tr>
287          <td></td>
288          <td class="md">)&nbsp;</td>
289          <td class="md" colspan="2"><code> [friend]</code></td>
290        </tr>
291
292      </table>
293    </td>
294  </tr>
295</table>
296<table cellspacing=5 cellpadding=0 border=0>
297  <tr>
298    <td>
299      &nbsp;
300    </td>
301    <td>
302
303<p>
304    </td>
305  </tr>
306</table>
307<hr><h2>Member Data Documentation</h2>
308<a class="anchor" name="Ogre_1_1DDVideoModeListr0" doxytag="Ogre::DDVideoModeList::lpDD7" ></a><p>
309<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
310  <tr>
311    <td class="mdRow">
312      <table cellpadding="0" cellspacing="0" border="0">
313        <tr>
314          <td class="md" nowrap valign="top"> LPDIRECTDRAW7 <a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeListr0">Ogre::DDVideoModeList::lpDD7</a><code> [private]</code>
315      </table>
316    </td>
317  </tr>
318</table>
319<table cellspacing=5 cellpadding=0 border=0>
320  <tr>
321    <td>
322      &nbsp;
323    </td>
324    <td>
325
326<p>
327
328<p>
329Definition at line <a class="el" href="OgreDDVideoModeList_8h-source.html#l00044">44</a> of file <a class="el" href="OgreDDVideoModeList_8h-source.html">OgreDDVideoModeList.h</a>.    </td>
330  </tr>
331</table>
332<a class="anchor" name="Ogre_1_1DDVideoModeListr1" doxytag="Ogre::DDVideoModeList::mModeList" ></a><p>
333<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
334  <tr>
335    <td class="mdRow">
336      <table cellpadding="0" cellspacing="0" border="0">
337        <tr>
338          <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="classOgre_1_1DDVideoMode.html">DDVideoMode</a>&gt; <a class="el" href="classOgre_1_1DDVideoModeList.html#Ogre_1_1DDVideoModeListr1">Ogre::DDVideoModeList::mModeList</a><code> [private]</code>
339      </table>
340    </td>
341  </tr>
342</table>
343<table cellspacing=5 cellpadding=0 border=0>
344  <tr>
345    <td>
346      &nbsp;
347    </td>
348    <td>
349
350<p>
351
352<p>
353Definition at line <a class="el" href="OgreDDVideoModeList_8h-source.html#l00047">47</a> of file <a class="el" href="OgreDDVideoModeList_8h-source.html">OgreDDVideoModeList.h</a>.    </td>
354  </tr>
355</table>
356<hr>The documentation for this class was generated from the following file:<ul>
357<li><a class="el" href="OgreDDVideoModeList_8h-source.html">OgreDDVideoModeList.h</a></ul>
358<hr>
359<p>
360Copyright &copy; 2000-2005 by The OGRE Team<br />
361<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
362This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
363                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
364                <Work rdf:about="">
365                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
366        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
367                </Work>
368                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
369
370Last modified Sun Feb 12 13:08:26 2006
371</p>
372</body>
373</html>
Note: See TracBrowser for help on using the repository browser.