00001 #ifndef OGRE_SDLGLSUPPORT_H 00002 #define OGRE_SDLGLSUPPORT_H 00003 00004 #include "OgreSDLPrerequisites.h" 00005 #include "OgreGLSupport.h" 00006 00007 namespace Ogre 00008 { 00009 00010 class SDLGLSupport : public GLSupport 00011 { 00012 public: 00013 SDLGLSupport(); 00014 ~SDLGLSupport(); 00015 00021 void addConfig(void); 00025 String validateConfig(void); 00026 00027 virtual RenderWindow* createWindow(bool autoCreateWindow, GLRenderSystem* renderSystem, const String& windowTitle); 00028 00030 virtual RenderWindow* newWindow(const String &name, unsigned int width, unsigned int height, 00031 bool fullScreen, const NameValuePairList *miscParams = 0); 00032 00036 void start(); 00040 void stop(); 00041 00045 void* getProcAddress(const String& procname); 00046 private: 00047 // Allowed video modes 00048 SDL_Rect** mVideoModes; 00049 00050 00051 }; // class SDLGLSupport 00052 00053 }; // namespace Ogre 00054 00055 #endif // OGRE_SDLGLSUPPORT_H
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:37:49 2006