<html> <head> <title>Ogre::DDVideoMode 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.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>Ogre::DDVideoMode Class Reference</h1>Encapsulates a DirectDraw video mode. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreDDVideoMode_8h-source.html">OgreDDVideoMode.h</a>></code> <p> <a href="classOgre_1_1DDVideoMode-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1String.html">String</a> </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModea0">Description</a> (void)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModea1">DDVideoMode</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModea2">DDVideoMode</a> (const DDVideoMode &ob)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModea3">DDVideoMode</a> (LPDDSURFACEDESC2 lpDDSD2)</td></tr> <tr><td nowrap align=right valign=top>DDVideoMode </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModea4">operator=</a> (const DDVideoMode &orig)</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModem0">mWidth</a></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModem1">mHeight</a></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModem2">mColourDepth</a></td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>DDSURFACEDESC2 </td><td valign=bottom><a class="el" href="classOgre_1_1DDVideoMode.html#Ogre_1_1DDVideoModeo0">mDDSurfaceDesc</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Encapsulates a DirectDraw video mode. <p> Utility class for <a class="el" href="classOgre_1_1D3DRenderSystem.html">D3DRenderSystem</a>. <p> <p> Definition at line <a class="el" href="OgreDDVideoMode_8h-source.html#l00037">37</a> of file <a class="el" href="OgreDDVideoMode_8h-source.html">OgreDDVideoMode.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1DDVideoModea1" doxytag="Ogre::DDVideoMode::DDVideoMode"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::DDVideoMode::DDVideoMode </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></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="OgreDDVideoMode_8cpp-source.html#l00030">30</a> of file <a class="el" href="OgreDDVideoMode_8cpp-source.html">OgreDDVideoMode.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1DDVideoModea2" doxytag="Ogre::DDVideoMode::DDVideoMode"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::DDVideoMode::DDVideoMode </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const DDVideoMode & </td> <td class="mdname1" valign="top" nowrap> <em>ob</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></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="OgreDDVideoMode_8cpp-source.html#l00036">36</a> of file <a class="el" href="OgreDDVideoMode_8cpp-source.html">OgreDDVideoMode.cpp</a>. <p> References <a class="el" href="OgreDDVideoMode_8h-source.html#l00046">mColourDepth</a>, <a class="el" href="OgreDDVideoMode_8h-source.html#l00041">mDDSurfaceDesc</a>, <a class="el" href="OgreDDVideoMode_8h-source.html#l00045">mHeight</a>, and <a class="el" href="OgreDDVideoMode_8h-source.html#l00044">mWidth</a>. </td> </tr> </table> <a name="Ogre_1_1DDVideoModea3" doxytag="Ogre::DDVideoMode::DDVideoMode"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::DDVideoMode::DDVideoMode </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">LPDDSURFACEDESC2 </td> <td class="mdname1" valign="top" nowrap> <em>lpDDSD2</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></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="OgreDDVideoMode_8cpp-source.html#l00045">45</a> of file <a class="el" href="OgreDDVideoMode_8cpp-source.html">OgreDDVideoMode.cpp</a>. <p> References <a class="el" href="OgreDDVideoMode_8h-source.html#l00046">mColourDepth</a>, <a class="el" href="OgreDDVideoMode_8h-source.html#l00041">mDDSurfaceDesc</a>, <a class="el" href="OgreDDVideoMode_8h-source.html#l00045">mHeight</a>, and <a class="el" href="OgreDDVideoMode_8h-source.html#l00044">mWidth</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1DDVideoModea0" doxytag="Ogre::DDVideoMode::Description"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1String.html">String</a> Ogre::DDVideoMode::Description </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></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="OgreDDVideoMode_8cpp-source.html#l00070">70</a> of file <a class="el" href="OgreDDVideoMode_8cpp-source.html">OgreDDVideoMode.cpp</a>. <p> References <a class="el" href="OgreDDVideoMode_8h-source.html#l00046">mColourDepth</a>, <a class="el" href="OgreDDVideoMode_8h-source.html#l00045">mHeight</a>, and <a class="el" href="OgreDDVideoMode_8h-source.html#l00044">mWidth</a>. <p> Referenced by <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00323">Ogre::D3DRenderSystem::initialise</a>(), and <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00178">Ogre::D3DRenderSystem::refreshDDSettings</a>(). </td> </tr> </table> <a name="Ogre_1_1DDVideoModea4" doxytag="Ogre::DDVideoMode::operator="></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> DDVideoMode Ogre::DDVideoMode::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const DDVideoMode & </td> <td class="mdname1" valign="top" nowrap> <em>orig</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></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="OgreDDVideoMode_8cpp-source.html#l00057">57</a> of file <a class="el" href="OgreDDVideoMode_8cpp-source.html">OgreDDVideoMode.cpp</a>. <p> References <a class="el" href="OgreDDVideoMode_8h-source.html#l00046">mColourDepth</a>, <a class="el" href="OgreDDVideoMode_8h-source.html#l00041">mDDSurfaceDesc</a>, <a class="el" href="OgreDDVideoMode_8h-source.html#l00045">mHeight</a>, and <a class="el" href="OgreDDVideoMode_8h-source.html#l00044">mWidth</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1DDVideoModem2" doxytag="Ogre::DDVideoMode::mColourDepth"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::DDVideoMode::mColourDepth </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreDDVideoMode_8h-source.html#l00046">46</a> of file <a class="el" href="OgreDDVideoMode_8h-source.html">OgreDDVideoMode.h</a>. <p> Referenced by <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00036">DDVideoMode</a>(), <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00070">Description</a>(), <a class="el" href="OgreDDVideoModeList_8cpp-source.html#l00120">Ogre::DDVideoModeList::getClosestMatch</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00323">Ogre::D3DRenderSystem::initialise</a>(), and <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00057">operator=</a>(). </td> </tr> </table> <a name="Ogre_1_1DDVideoModeo0" doxytag="Ogre::DDVideoMode::mDDSurfaceDesc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> DDSURFACEDESC2 Ogre::DDVideoMode::mDDSurfaceDesc<code> [private]</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="OgreDDVideoMode_8h-source.html#l00041">41</a> of file <a class="el" href="OgreDDVideoMode_8h-source.html">OgreDDVideoMode.h</a>. <p> Referenced by <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00036">DDVideoMode</a>(), and <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00057">operator=</a>(). </td> </tr> </table> <a name="Ogre_1_1DDVideoModem1" doxytag="Ogre::DDVideoMode::mHeight"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::DDVideoMode::mHeight </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreDDVideoMode_8h-source.html#l00045">45</a> of file <a class="el" href="OgreDDVideoMode_8h-source.html">OgreDDVideoMode.h</a>. <p> Referenced by <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00036">DDVideoMode</a>(), <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00070">Description</a>(), <a class="el" href="OgreDDVideoModeList_8cpp-source.html#l00120">Ogre::DDVideoModeList::getClosestMatch</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00323">Ogre::D3DRenderSystem::initialise</a>(), and <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00057">operator=</a>(). </td> </tr> </table> <a name="Ogre_1_1DDVideoModem0" doxytag="Ogre::DDVideoMode::mWidth"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::DDVideoMode::mWidth </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreDDVideoMode_8h-source.html#l00044">44</a> of file <a class="el" href="OgreDDVideoMode_8h-source.html">OgreDDVideoMode.h</a>. <p> Referenced by <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00036">DDVideoMode</a>(), <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00070">Description</a>(), <a class="el" href="OgreDDVideoModeList_8cpp-source.html#l00120">Ogre::DDVideoModeList::getClosestMatch</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00323">Ogre::D3DRenderSystem::initialise</a>(), and <a class="el" href="OgreDDVideoMode_8cpp-source.html#l00057">operator=</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreDDVideoMode_8h-source.html">OgreDDVideoMode.h</a><li><a class="el" href="OgreDDVideoMode_8cpp-source.html">OgreDDVideoMode.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:12:29 2004 </p> </body> </html>