<html> <head> <title>Ogre::Win32Context class Reference - 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>Ogre::Win32Context Class Reference</h1><code>#include <<a class="el" href="OgreWin32Context_8h-source.html">OgreWin32Context.h</a>></code> <p> Inheritance diagram for Ogre::Win32Context:<p><center><img src="classOgre_1_1Win32Context__inherit__graph.png" border="0" usemap="#Ogre_1_1Win32Context__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1Win32Context__inherit__map"> <area href="classOgre_1_1GLContext.html" shape="rect" coords="17,17,127,36" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1Win32Context-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Context.html#Ogre_1_1Win32Contexta0">Win32Context</a> (HDC HDC, HGLRC Glrc)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Context.html#Ogre_1_1Win32Contexta1">~Win32Context</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Context.html#Ogre_1_1Win32Contexta2">setCurrent</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classOgre_1_1GLContext.html">GLContext</a>. <a href="#Ogre_1_1Win32Contexta2"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLContext.html#Ogre_1_1Win32Contexta3">endCurrent</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This is called before another context is made current. <a href="#Ogre_1_1Win32Contexta3"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLContext.html#Ogre_1_1Win32Contexta4">getInitialized</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLContext.html#Ogre_1_1Win32Contexta5">setInitialized</a> ()</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>HDC </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Context.html#Ogre_1_1Win32Contexto0">mHDC</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>HGLRC </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Win32Context.html#Ogre_1_1Win32Contexto1">mGlrc</a></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLContext.html#Ogre_1_1Win32Contextp0">initialized</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="Ogre_1_1Win32Contexta0" doxytag="Ogre::Win32Context::Win32Context" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Win32Context::Win32Context </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">HDC </td> <td class="mdname" nowrap> <em>HDC</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>HGLRC </td> <td class="mdname" nowrap> <em>Glrc</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Win32Contexta1" doxytag="Ogre::Win32Context::~Win32Context" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual Ogre::Win32Context::~<a class="el" href="classOgre_1_1Win32Context.html">Win32Context</a> </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="Ogre_1_1Win32Contexta3" doxytag="Ogre::Win32Context::endCurrent" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void Ogre::GLContext::endCurrent </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> This is called before another context is made current. <p> By default, nothing is done here. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Win32Contexta4" doxytag="Ogre::Win32Context::getInitialized" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::GLContext::getInitialized </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGLContext_8h-source.html#l00054">54</a> of file <a class="el" href="OgreGLContext_8h-source.html">OgreGLContext.h</a>. <p> References <a class="el" href="OgreGLContext_8h-source.html#l00057">Ogre::GLContext::initialized</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Win32Contexta2" doxytag="Ogre::Win32Context::setCurrent" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void Ogre::Win32Context::setCurrent </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> See <a class="el" href="classOgre_1_1GLContext.html">GLContext</a>. <p> <p> Implements <a class="el" href="classOgre_1_1GLContext.html#Ogre_1_1GLContexta2">Ogre::GLContext</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Win32Contexta5" doxytag="Ogre::Win32Context::setInitialized" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GLContext::setInitialized </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGLContext_8h-source.html#l00055">55</a> of file <a class="el" href="OgreGLContext_8h-source.html">OgreGLContext.h</a>. <p> References <a class="el" href="OgreGLContext_8h-source.html#l00057">Ogre::GLContext::initialized</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="Ogre_1_1Win32Contextp0" doxytag="Ogre::Win32Context::initialized" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1GLContext.html#Ogre_1_1Win32Contextp0">Ogre::GLContext::initialized</a><code> [protected, inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGLContext_8h-source.html#l00057">57</a> of file <a class="el" href="OgreGLContext_8h-source.html">OgreGLContext.h</a>. <p> Referenced by <a class="el" href="OgreGLContext_8h-source.html#l00054">Ogre::GLContext::getInitialized()</a>, and <a class="el" href="OgreGLContext_8h-source.html#l00055">Ogre::GLContext::setInitialized()</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Win32Contexto1" doxytag="Ogre::Win32Context::mGlrc" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> HGLRC <a class="el" href="classOgre_1_1Win32Context.html#Ogre_1_1Win32Contexto1">Ogre::Win32Context::mGlrc</a> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreWin32Context_8h-source.html#l00044">44</a> of file <a class="el" href="OgreWin32Context_8h-source.html">OgreWin32Context.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Win32Contexto0" doxytag="Ogre::Win32Context::mHDC" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> HDC <a class="el" href="classOgre_1_1Win32Context.html#Ogre_1_1Win32Contexto0">Ogre::Win32Context::mHDC</a> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreWin32Context_8h-source.html#l00043">43</a> of file <a class="el" href="OgreWin32Context_8h-source.html">OgreWin32Context.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="OgreWin32Context_8h-source.html">OgreWin32Context.h</a></ul> <p> Copyright © 2000-2005 by The OGRE Team<br /> Last modified Wed Feb 23 00:31:01 2005 </p> </body> </html>