Go to the documentation of this file.
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
bool mIsExternalGLControl
Manages the target rendering window.
unsigned int mVSyncInterval
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
bool requiresTextureFlipping() const
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
bool mIsExternalGLContext
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.
DWORD mFullscreenWinStyle
HWND getWindowHandle() const
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15