Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <SDLWindow.hpp>

Public Member Functions | |
| SDLWindow () | |
| SDLWindow (const vl::String &title, const vl::OpenGLContextFormat &info, int x=0, int y=0, int width=640, int height=480) | |
| bool | initSDLWindow (const vl::String &title, const vl::OpenGLContextFormat &info, int x=0, int y=0, int width=640, int height=480) |
| ~SDLWindow () | |
| void | setPosition (int x, int y) |
| virtual void | swapBuffers () |
| void | translateEvent (SDL_Event *ev) |
| void | destroy () |
| void | quitApplication () |
| Quits the event loop. | |
| void | setWindowTitle (const vl::String &) |
| void | setMouseVisible (bool visible) |
| void | setMousePosition (int x, int y) |
| void | update () |
| void | makeCurrent () |
Static Public Member Functions | |
| static SDL_Surface * | sdlSurface () |
Static Protected Attributes | |
| static SDL_Surface * | mScreen = NULL |
| SDLWindow::SDLWindow | ( | ) |
| SDLWindow::SDLWindow | ( | const vl::String & | title, | |
| const vl::OpenGLContextFormat & | info, | |||
| int | x = 0, |
|||
| int | y = 0, |
|||
| int | width = 640, |
|||
| int | height = 480 | |||
| ) |
| SDLWindow::~SDLWindow | ( | ) |
| bool SDLWindow::initSDLWindow | ( | const vl::String & | title, | |
| const vl::OpenGLContextFormat & | info, | |||
| int | x = 0, |
|||
| int | y = 0, |
|||
| int | width = 640, |
|||
| int | height = 480 | |||
| ) |
| void SDLWindow::setPosition | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Reimplemented from vl::OpenGLContext.
| void SDLWindow::swapBuffers | ( | ) | [virtual] |
Reimplemented from vl::OpenGLContext.
| void SDLWindow::translateEvent | ( | SDL_Event * | ev | ) |
| void SDLWindow::destroy | ( | ) | [virtual] |
Reimplemented from vl::OpenGLContext.
| void SDLWindow::quitApplication | ( | ) | [virtual] |
| void SDLWindow::setWindowTitle | ( | const vl::String & | title | ) | [virtual] |
Reimplemented from vl::OpenGLContext.
| void vlSDL::SDLWindow::setMouseVisible | ( | bool | visible | ) | [inline, virtual] |
Reimplemented from vl::OpenGLContext.
| void vlSDL::SDLWindow::setMousePosition | ( | int | x, | |
| int | y | |||
| ) | [inline, virtual] |
Reimplemented from vl::OpenGLContext.
| void SDLWindow::update | ( | ) | [virtual] |
Reimplemented from vl::OpenGLContext.
| void vlSDL::SDLWindow::makeCurrent | ( | ) | [inline, virtual] |
Reimplemented from vl::OpenGLContext.
| static SDL_Surface* vlSDL::SDLWindow::sdlSurface | ( | ) | [inline, static] |
SDL_Surface * SDLWindow::mScreen = NULL [static, protected] |