29 #ifndef __SDLWindow_H__
30 #define __SDLWindow_H__
45 void processEvents(
void);
47 int (*glXGetVideoSyncSGI) (
unsigned int *);
48 int (*glXWaitVideoSyncSGI) (int, int,
unsigned int *);
54 void create(
const String& name,
unsigned int width,
unsigned int height,
59 bool isActive(
void)
const;
61 bool isClosed(
void)
const;
63 void reposition(
int left,
int top);
65 void resize(
unsigned int width,
unsigned int height);
73 void setVSyncEnabled(
bool vsync);
75 bool isVSyncEnabled()
const;
88 return ( mScreen->flags & SDL_FULLSCREEN ) == SDL_FULLSCREEN;
Manages the target rendering window.
bool isFullScreen(void) const
Returns true if window is running in fullscreen mode.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
bool requiresTextureFlipping() const
void getCustomAttribute(const String &name, void *pData)
Overridden - see RenderTarget.
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.