29 #ifndef __Win32Window_H__
30 #define __Win32Window_H__
42 void create(
const String& name,
unsigned int width,
unsigned int height,
44 void setFullscreen(
bool fullScreen,
unsigned int width,
unsigned int height);
46 bool isActive(
void)
const;
47 bool isVisible()
const;
49 void setHidden(
bool hidden);
50 void setVSyncEnabled(
bool vsync);
51 bool isVSyncEnabled()
const;
52 void setVSyncInterval(
unsigned int interval);
53 unsigned int getVSyncInterval()
const;
54 bool isClosed(
void)
const;
55 void reposition(
int left,
int top);
56 void resize(
unsigned int width,
unsigned int height);
60 virtual void copyContentsToMemory(
const PixelBox &dst, FrameBuffer buffer);
68 virtual void windowMovedOrResized(
void);
70 void getCustomAttribute(
const String& name,
void* pData );
74 virtual void setActive(
bool state );
76 void adjustWindow(
unsigned int clientWidth,
unsigned int clientHeight,
77 unsigned int* winWidth,
unsigned int* winHeight);
82 void updateWindowRect();
85 DWORD
getWindowStyle(
bool fullScreen)
const {
if (fullScreen)
return mFullscreenWinStyle;
return mWindowedWinStyle; }
Win32GLSupport & mGLSupport
Manages the target rendering window.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
DWORD mFullscreenWinStyle
bool requiresTextureFlipping() const
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
HWND getWindowHandle() const
bool mIsExternalGLContext
bool mIsExternalGLControl
DWORD getWindowStyle(bool fullScreen) const
Return the target window style depending on the fullscreen parameter.
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
unsigned int mVSyncInterval