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);
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; }
DWORD getWindowStyle(bool fullScreen) const
Return the target window style depending on the fullscreen parameter.
bool requiresTextureFlipping() const
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
bool mIsExternalGLContext
Win32GLSupport & mGLSupport
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
DWORD mFullscreenWinStyle
unsigned int mVSyncInterval
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
Manages the target rendering window.
HWND getWindowHandle() const
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
bool mIsExternalGLControl