<html> <head> <title>OgreWin32GLSupport.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>OgreWin32GLSupport.h</h1><a href="OgreWin32GLSupport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef __OgreWin32GLSupport_H__</font> 00002 <font class="preprocessor"></font><font class="preprocessor">#define __OgreWin32GLSupport_H__</font> 00003 <font class="preprocessor"></font> 00004 <font class="preprocessor">#include "<a class="code" href="RenderSystems_2GL_2include_2OgreWin32Prerequisites_8h.html">OgreWin32Prerequisites.h</a>"</font> 00005 <font class="preprocessor">#include "<a class="code" href="OgreGLSupport_8h.html">OgreGLSupport.h</a>"</font> 00006 <font class="preprocessor">#include "<a class="code" href="OgreGLRenderSystem_8h.html">OgreGLRenderSystem.h</a>"</font> 00007 00008 <font class="keyword">using</font> std::vector; 00009 00010 <font class="keyword">namespace </font>Ogre 00011 { 00012 <a name="l00013"></a><a class="code" href="classOgre_1_1Win32GLSupport.html">00013</a> <font class="keyword">class </font><a class="code" href="classOgre_1_1Win32GLSupport.html">Win32GLSupport</a> : <font class="keyword">public</font> <a class="code" href="classOgre_1_1GLSupport.html">GLSupport</a> 00014 { 00015 <font class="keyword">public</font>: 00021 <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta0">addConfig</a>(); 00022 00023 <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta1">setConfigOption</a>(<font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a> &name, <font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a> &value); 00024 00028 <a class="code" href="classOgre_1_1String.html">String</a> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta2">validateConfig</a>(); 00029 00030 <font class="keyword">virtual</font> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta3">createWindow</a>(<font class="keywordtype">bool</font> autoCreateWindow, <a class="code" href="classOgre_1_1GLRenderSystem.html">GLRenderSystem</a>* renderSystem); 00031 00035 <font class="keyword">virtual</font> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta4">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, 00036 <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, 00037 <font class="keywordtype">bool</font> vsync); 00038 00042 <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta5">start</a>(); 00046 <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta6">stop</a>(); 00047 00051 <font class="keywordtype">void</font>* <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta7">getProcAddress</a>(<font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>& procname); 00052 <font class="keyword">private</font>: 00053 <font class="comment">// Allowed video modes</font> <a name="l00054"></a><a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporto0">00054</a> vector<DEVMODE> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporto0">mDevModes</a>; 00055 00056 <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportc0">refreshConfig</a>(); 00057 }; 00058 00059 } 00060 00061 <font class="preprocessor">#endif</font> </pre></div><p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:10:31 2004 </p> </body> </html>