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);
Manages the target rendering window.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
bool mUsingExternalViewController
Is this using an external view controller handle?
bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
bool mIsExternal
Is this using an external window handle?
void switchFullScreen(bool fullscreen)
float mContentScalingFactor
void setVisible(bool visible)
Set the visibility state.
bool requiresTextureFlipping() const
bool mUsingExternalView
Is this using an external view handle?
bool mIsContentScalingSupported
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
void setClosed(bool closed)
bool isClosed(void) const
Indicates whether the window has been closed by the user.