Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::DDVideoModeList Class Reference

Encapsulates enumeration of DirectDraw video modes. More...

#include <OgreDDVideoModeList.h>

List of all members.

Public Methods

 DDVideoModeList (LPDIRECTDRAW7 lpDD7)
 ~DDVideoModeList ()
BOOL enumerate (void)
DDVideoMode * item (int index)
unsigned int count (void)
 newMode. More...

DDVideoMode * getClosestMatch (int width, int height, int colourDepth)

Private Methods

void AddMode (LPDDSURFACEDESC2 lpDDSurfaceDesc)

Private Attributes

LPDIRECTDRAW7 lpDD7
std::vector< DDVideoMode > mModeList

Friends

HRESULT CALLBACK DDEnumModesCallback (LPDDSURFACEDESC2 lpDDSD2, LPVOID lpContext)


Detailed Description

Encapsulates enumeration of DirectDraw video modes.

Utility class for D3DRenderSystem.


Constructor & Destructor Documentation

Ogre::DDVideoModeList::DDVideoModeList (  LPDIRECTDRAW7    lpDD7 ) 
 

Ogre::DDVideoModeList::~DDVideoModeList (    ) 
 


Member Function Documentation

void Ogre::DDVideoModeList::AddMode (  LPDDSURFACEDESC2    lpDDSurfaceDesc )  [private]
 

unsigned int Ogre::DDVideoModeList::count (  void    ) 
 

newMode.

BOOL Ogre::DDVideoModeList::enumerate (  void    ) 
 

DDVideoMode * Ogre::DDVideoModeList::getClosestMatch (  int    width,
int    height,
int    colourDepth
) 
 

DDVideoMode * Ogre::DDVideoModeList::item (  int    index ) 
 


Friends And Related Function Documentation

HRESULT CALLBACK DDEnumModesCallback (  LPDDSURFACEDESC2    lpDDSD2,
LPVOID    lpContext
)  [friend]
 


Member Data Documentation

LPDIRECTDRAW7 Ogre::DDVideoModeList::lpDD7 [private]
 

std::vector<DDVideoMode> Ogre::DDVideoModeList::mModeList [private]
 

Copyright © 2002 by The OGRE Team