29 #ifndef __SDLWindow_H__
30 #define __SDLWindow_H__
36 class _OgrePrivate SDLWindow :
public RenderWindow
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);
70 void copyContentsToMemory(
const PixelBox &dst, FrameBuffer buffer);
73 void setVSyncEnabled(
bool vsync);
75 bool isVSyncEnabled()
const;
88 return ( mScreen->flags & SDL_FULLSCREEN ) == SDL_FULLSCREEN;