29 #ifndef __EAGLWindow_H__
30 #define __EAGLWindow_H__
35 #import <UIKit/UIKit.h>
43 typedef UIWindow *NativeWindowType;
71 NativeWindowType mWindow;
77 void getLeftAndTopFromNativeWindow(
int & left,
int & top,
uint width,
uint height);
79 void createNativeWindow(
int &left,
int &top,
uint &width,
uint &height,
String &title);
80 void reposition(
int left,
int top);
81 void resize(
unsigned int width,
unsigned int height);
82 void windowMovedOrResized();
83 virtual void _beginUpdate();
89 void create(
const String& name,
unsigned int width,
unsigned int height,
92 virtual void setFullscreen(
bool fullscreen,
uint width,
uint height);
99 void swapBuffers(
void);
100 void copyContentsToMemory(
const PixelBox &dst, FrameBuffer buffer);
111 virtual void getCustomAttribute(
const String& name,
void* pData);
void setClosed(bool closed)
bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
float mContentScalingFactor
bool mUsingExternalViewController
Is this using an external view controller handle?
bool requiresTextureFlipping() const
void switchFullScreen(bool fullscreen)
bool mIsExternal
Is this using an external window handle?
bool mIsContentScalingSupported
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
bool mUsingExternalView
Is this using an external view handle?
Manages the target rendering window.
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
void setVisible(bool visible)
Set the visibility state.
bool isClosed(void) const
Indicates whether the window has been closed by the user.