OGRE  1.7
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OgreSDLGLSupport.h
Go to the documentation of this file.
1 #ifndef OGRE_SDLGLSUPPORT_H
2 #define OGRE_SDLGLSUPPORT_H
3 
4 #include "OgreSDLPrerequisites.h"
5 #include "OgreGLSupport.h"
6 
7 namespace Ogre
8 {
9 
11 {
12 public:
13  SDLGLSupport();
14  ~SDLGLSupport();
15 
21  void addConfig(void);
25  String validateConfig(void);
26 
27  virtual RenderWindow* createWindow(bool autoCreateWindow, GLRenderSystem* renderSystem, const String& windowTitle);
28 
30  virtual RenderWindow* newWindow(const String &name, unsigned int width, unsigned int height,
31  bool fullScreen, const NameValuePairList *miscParams = 0);
32 
36  void start();
40  void stop();
41 
45  void* getProcAddress(const String& procname);
46 private:
47  // Allowed video modes
48  SDL_Rect** mVideoModes;
49 
50 
51 }; // class SDLGLSupport
52 
53 }; // namespace Ogre
54 
55 #endif // OGRE_SDLGLSUPPORT_H
Manages the target rendering window.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Definition: OgreCommon.h:524
#define _OgrePrivate
Definition: OgrePlatform.h:204
SDL_Rect ** mVideoModes
_StringBase String
Implementation of GL as a rendering system.