<html> <head> <title>OgreSDLGLSupport.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.3.6 --> <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> <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> 00002 <span class="preprocessor"></span><span class="preprocessor">#define OGRE_SDLGLSUPPORT_H</span> 00003 <span class="preprocessor"></span> 00004 <span class="preprocessor">#include "<a class="code" href="OgreSDLPrerequisites_8h.html">OgreSDLPrerequisites.h</a>"</span> 00005 <span class="preprocessor">#include "<a class="code" href="OgreGLSupport_8h.html">OgreGLSupport.h</a>"</span> 00006 00007 <span class="keyword">namespace </span>Ogre 00008 { 00009 <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> 00011 { 00012 <span class="keyword">public</span>: 00013 <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta0">SDLGLSupport</a>(); 00014 <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta1">~SDLGLSupport</a>(); 00015 00021 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta2">addConfig</a>(<span class="keywordtype">void</span>); 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>); 00026 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); 00028 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, 00031 <span class="keywordtype">bool</span> fullScreen, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a62">NameValuePairList</a> *miscParams = 0); 00032 00036 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta6">start</a>(); 00040 <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta7">stop</a>(); 00041 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); 00046 <span class="keyword">private</span>: 00047 <span class="comment">// Allowed video modes</span> <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>; 00049 00050 00051 }; <span class="comment">// class SDLGLSupport</span> 00052 00053 }; <span class="comment">// namespace Ogre</span> 00054 00055 <span class="preprocessor">#endif // OGRE_SDLGLSUPPORT_H</span> </pre></div><p> Copyright © 2000-2005 by The OGRE Team<br /> Last modified Wed Feb 23 00:19:13 2005 </p> </body> </html>