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);
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)
bool isClosed(void) const
Indicates whether the window has been closed by the user.
float mContentScalingFactor
bool mUsingExternalViewController
Is this using an external view controller handle?
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 requiresTextureFlipping() const
bool mUsingExternalView
Is this using an external view handle?
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
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.