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