<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.2.16 --> <center> <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">Compound 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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>OgreSDLGLSupport.h</h1><a href="OgreSDLGLSupport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef OGRE_SDLGLSUPPORT_H</font> 00002 <font class="preprocessor"></font><font class="preprocessor">#define OGRE_SDLGLSUPPORT_H</font> 00003 <font class="preprocessor"></font> 00004 <font class="preprocessor">#include "<a class="code" href="OgreSDLPrerequisites_8h.html">OgreSDLPrerequisites.h</a>"</font> 00005 <font class="preprocessor">#include "<a class="code" href="OgreGLSupport_8h.html">OgreGLSupport.h</a>"</font> 00006 00007 <font class="preprocessor">#include <SDL.h></font> 00008 00009 <font class="keyword">namespace </font>Ogre 00010 { 00011 <a name="l00012"></a><a class="code" href="classOgre_1_1SDLGLSupport.html">00012</a> <font class="keyword">class </font><a class="code" href="classOgre_1_1SDLGLSupport.html">SDLGLSupport</a> : <font class="keyword">public</font> <a class="code" href="classOgre_1_1GLSupport.html">GLSupport</a> 00013 { 00014 <font class="keyword">public</font>: 00015 <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta0">SDLGLSupport</a>(); 00016 <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta1">~SDLGLSupport</a>(); 00017 00023 <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta2">addConfig</a>(<font class="keywordtype">void</font>); 00027 <a class="code" href="classOgre_1_1String.html">String</a> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta3">validateConfig</a>(<font class="keywordtype">void</font>); 00028 00029 <font class="keyword">virtual</font> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta4">createWindow</a>(<font class="keywordtype">bool</font> autoCreateWindow, <a class="code" href="classOgre_1_1GLRenderSystem.html">GLRenderSystem</a>* renderSystem); 00030 00034 <font class="keyword">virtual</font> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta5">newWindow</a>(<font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>& name, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> width, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> height, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> colourDepth, 00035 <font class="keywordtype">bool</font> fullScreen, <font class="keywordtype">int</font> left, <font class="keywordtype">int</font> top, <font class="keywordtype">bool</font> depthBuffer, <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* parentWindowHandle, 00036 <font class="keywordtype">bool</font> vsync); 00037 00041 <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta6">start</a>(); 00045 <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta7">stop</a>(); 00046 00050 <font class="keywordtype">void</font>* <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta8">getProcAddress</a>(<font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>& procname); 00051 <font class="keyword">private</font>: 00052 <font class="comment">// Allowed video modes</font> <a name="l00053"></a><a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporto0">00053</a> SDL_Rect** <a class="code" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporto0">mVideoModes</a>; 00054 00055 00056 }; <font class="comment">// class SDLGLSupport</font> 00057 00058 }; <font class="comment">// namespace Ogre</font> 00059 00060 <font class="preprocessor">#endif // OGRE_SDLGLSUPPORT_H</font> </pre></div><p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:10:27 2004 </p> </body> </html>