Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/RenderSystems/GL/include/OgreSDLGLSupport.h @ 3

Last change on this file since 3 was 3, checked in by anonymous, 17 years ago

=update

File size: 1.2 KB
Line 
1#ifndef OGRE_SDLGLSUPPORT_H
2#define OGRE_SDLGLSUPPORT_H
3
4#include "OgreSDLPrerequisites.h"
5#include "OgreGLSupport.h"
6
7namespace Ogre
8{
9   
10class _OgrePrivate SDLGLSupport : public GLSupport
11{
12public:
13    SDLGLSupport();
14    ~SDLGLSupport();
15
16    /**
17    * Add any special config values to the system.
18    * Must have a "Full Screen" value that is a bool and a "Video Mode" value
19    * that is a string in the form of wxh
20    */
21    void addConfig(void);
22    /**
23    * Make sure all the extra options are valid
24    */
25    String validateConfig(void);
26
27    virtual RenderWindow* createWindow(bool autoCreateWindow, GLRenderSystem* renderSystem, const String& windowTitle);
28
29        /// @copydoc RenderSystem::createRenderWindow
30        virtual RenderWindow* newWindow(const String &name, unsigned int width, unsigned int height, 
31                bool fullScreen, const NameValuePairList *miscParams = 0);
32
33    /**
34    * Start anything special
35    */
36    void start();
37    /**
38    * Stop anything special
39    */
40    void stop();
41
42    /**
43    * Get the address of a function
44    */
45    void* getProcAddress(const String& procname);
46private:
47    // Allowed video modes
48    SDL_Rect** mVideoModes;
49
50
51}; // class SDLGLSupport
52
53}; // namespace Ogre
54
55#endif // OGRE_SDLGLSUPPORT_H
Note: See TracBrowser for help on using the repository browser.