#include <sdlgraphicswindow.hpp>
SDLUtil::GraphicsWindowSDL2::~GraphicsWindowSDL2 |
( |
| ) |
|
|
privatevirtual |
SDLUtil::GraphicsWindowSDL2::GraphicsWindowSDL2 |
( |
osg::GraphicsContext::Traits * |
traits | ) |
|
virtual const char* SDLUtil::GraphicsWindowSDL2::className |
( |
| ) |
const |
|
inlinevirtual |
void SDLUtil::GraphicsWindowSDL2::closeImplementation |
( |
| ) |
|
|
virtual |
Close the graphics context.
virtual void SDLUtil::GraphicsWindowSDL2::grabFocus |
( |
| ) |
|
|
inlinevirtual |
virtual void SDLUtil::GraphicsWindowSDL2::grabFocusIfPointerInWindow |
( |
| ) |
|
|
inlinevirtual |
Get focus on if the pointer is in this window.
void SDLUtil::GraphicsWindowSDL2::init |
( |
| ) |
|
|
private |
virtual bool SDLUtil::GraphicsWindowSDL2::isRealizedImplementation |
( |
| ) |
const |
|
inlinevirtual |
Return true if the graphics context has been realised and is ready to use.
virtual bool SDLUtil::GraphicsWindowSDL2::isSameKindAs |
( |
const Object * |
object | ) |
const |
|
inlinevirtual |
virtual const char* SDLUtil::GraphicsWindowSDL2::libraryName |
( |
| ) |
const |
|
inlinevirtual |
bool SDLUtil::GraphicsWindowSDL2::makeCurrentImplementation |
( |
| ) |
|
|
virtual |
Make this graphics context current.
void SDLUtil::GraphicsWindowSDL2::raiseWindow |
( |
| ) |
|
|
virtual |
bool SDLUtil::GraphicsWindowSDL2::realizeImplementation |
( |
| ) |
|
|
virtual |
Realise the GraphicsContext.
bool SDLUtil::GraphicsWindowSDL2::releaseContextImplementation |
( |
| ) |
|
|
virtual |
Release the graphics context.
void SDLUtil::GraphicsWindowSDL2::setCursor |
( |
MouseCursor |
cursor | ) |
|
|
virtual |
Set mouse cursor to a specific shape.
void SDLUtil::GraphicsWindowSDL2::setSyncToVBlank |
( |
bool |
on | ) |
|
|
virtual |
bool SDLUtil::GraphicsWindowSDL2::setWindowDecorationImplementation |
( |
bool |
flag | ) |
|
|
virtual |
void SDLUtil::GraphicsWindowSDL2::setWindowName |
( |
const std::string & |
name | ) |
|
|
virtual |
Set the name of the window
bool SDLUtil::GraphicsWindowSDL2::setWindowRectangleImplementation |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
Set the window's position and size.
void SDLUtil::GraphicsWindowSDL2::swapBuffersImplementation |
( |
| ) |
|
|
virtual |
Swap the front and back buffers.
virtual bool SDLUtil::GraphicsWindowSDL2::valid |
( |
| ) |
const |
|
inlinevirtual |
SDL_GLContext SDLUtil::GraphicsWindowSDL2::mContext |
|
private |
bool SDLUtil::GraphicsWindowSDL2::mOwnsWindow |
|
private |
bool SDLUtil::GraphicsWindowSDL2::mRealized |
|
private |
bool SDLUtil::GraphicsWindowSDL2::mValid |
|
private |
SDL_Window* SDLUtil::GraphicsWindowSDL2::mWindow |
|
private |
The documentation for this class was generated from the following files: