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

OgreWin32GLSupport.h

Go to the documentation of this file.
00001 #ifndef __OgreWin32GLSupport_H__
00002 #define __OgreWin32GLSupport_H__
00003 
00004 #include "OgreWin32Prerequisites.h"
00005 #include "OgreGLSupport.h"
00006 #include "OgreGLRenderSystem.h"
00007 
00008 using std::vector;
00009 
00010 namespace Ogre
00011 {
00012     
00013     class Win32GLSupport : public GLSupport
00014     {
00015     public:
00021         void addConfig();
00022 
00023         void setConfigOption(const String &name, const String &value);
00024 
00028         String validateConfig();
00029 
00030         virtual RenderWindow* createWindow(bool autoCreateWindow, GLRenderSystem* renderSystem, const String& windowTitle = "OGRE Render Window");
00031 
00035         virtual RenderWindow* newWindow(const String& name, unsigned int width, unsigned int height, unsigned int colourDepth,
00036             bool fullScreen, int left, int top, bool depthBuffer, RenderWindow* parentWindowHandle,
00037             bool vsync);
00038 
00042         void start();
00046         void stop();
00047 
00051         void* getProcAddress(const String& procname);
00052     private:
00053         // Allowed video modes
00054         vector<DEVMODE> mDevModes;
00055 
00056         void refreshConfig();
00057     };
00058 
00059 }
00060 
00061 #endif

Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:22:55 2004