1 | <html> |
---|
2 | <head> |
---|
3 | <title>OgreSDLGLSupport.h Source File - 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>OgreSDLGLSupport.h</h1><a href="OgreSDLGLSupport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef OGRE_SDLGLSUPPORT_H</span> |
---|
11 | 00002 <span class="preprocessor"></span><span class="preprocessor">#define OGRE_SDLGLSUPPORT_H</span> |
---|
12 | 00003 <span class="preprocessor"></span> |
---|
13 | 00004 <span class="preprocessor">#include "<a class="code" href="OgreSDLPrerequisites_8h.html">OgreSDLPrerequisites.h</a>"</span> |
---|
14 | 00005 <span class="preprocessor">#include "<a class="code" href="OgreGLSupport_8h.html">OgreGLSupport.h</a>"</span> |
---|
15 | 00006 |
---|
16 | 00007 <span class="keyword">namespace </span>Ogre |
---|
17 | 00008 { |
---|
18 | 00009 |
---|
19 | <a name="l00010"></a><a class="code" href="classOgre_1_1SDLGLSupport.html">00010</a> <span class="keyword">class </span><a class="code" href="classOgre_1_1SDLGLSupport.html">SDLGLSupport</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1GLSupport.html">GLSupport</a> |
---|
20 | 00011 { |
---|
21 | 00012 <span class="keyword">public</span>: |
---|
22 | 00013 <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta0">SDLGLSupport</a>(); |
---|
23 | 00014 <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta1">~SDLGLSupport</a>(); |
---|
24 | 00015 |
---|
25 | 00021 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta2">addConfig</a>(<span class="keywordtype">void</span>); |
---|
26 | 00025 <a class="code" href="namespaceOgre.html#a426">String</a> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta3">validateConfig</a>(<span class="keywordtype">void</span>); |
---|
27 | 00026 |
---|
28 | 00027 <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta4">createWindow</a>(<span class="keywordtype">bool</span> autoCreateWindow, <a class="code" href="classOgre_1_1GLRenderSystem.html">GLRenderSystem</a>* renderSystem, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& windowTitle); |
---|
29 | 00028 |
---|
30 | 00030 <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta5">newWindow</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a> &name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> width, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> height, |
---|
31 | 00031 <span class="keywordtype">bool</span> fullScreen, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a62">NameValuePairList</a> *miscParams = 0); |
---|
32 | 00032 |
---|
33 | 00036 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta6">start</a>(); |
---|
34 | 00040 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta7">stop</a>(); |
---|
35 | 00041 |
---|
36 | 00045 <span class="keywordtype">void</span>* <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta8">getProcAddress</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& procname); |
---|
37 | 00046 <span class="keyword">private</span>: |
---|
38 | 00047 <span class="comment">// Allowed video modes</span> |
---|
39 | <a name="l00048"></a><a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupportr0">00048</a> SDL_Rect** <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupportr0">mVideoModes</a>; |
---|
40 | 00049 |
---|
41 | 00050 |
---|
42 | 00051 }; <span class="comment">// class SDLGLSupport</span> |
---|
43 | 00052 |
---|
44 | 00053 }; <span class="comment">// namespace Ogre</span> |
---|
45 | 00054 |
---|
46 | 00055 <span class="preprocessor">#endif // OGRE_SDLGLSUPPORT_H</span> |
---|
47 | </pre></div><hr> |
---|
48 | <p> |
---|
49 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
50 | <!--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/> |
---|
51 | This 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/> |
---|
52 | <!--/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#"> |
---|
53 | <Work rdf:about=""> |
---|
54 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
55 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
56 | </Work> |
---|
57 | <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> --> |
---|
58 | |
---|
59 | Last modified Sun Feb 12 12:59:52 2006 |
---|
60 | </p> |
---|
61 | </body> |
---|
62 | </html> |
---|