29 #ifndef __OSXCocoaWindow_H__ 30 #define __OSXCocoaWindow_H__ 34 #include <AppKit/NSWindow.h> 35 #include <QuartzCore/CVDisplayLink.h> 69 void _setWindowParameters(
void);
80 void create(
const String& name,
unsigned int width,
unsigned int height,
85 bool isActive(
void)
const;
87 bool isClosed(
void)
const;
91 void setHidden(
bool hidden);
93 void setVSyncEnabled(
bool vsync);
95 bool isVSyncEnabled()
const;
97 void reposition(
int left,
int top);
99 void resize(
unsigned int width,
unsigned int height);
105 virtual void setFullscreen(
bool fullScreen,
unsigned int width,
unsigned int height);
107 virtual unsigned int getWidth(
void)
const;
109 virtual unsigned int getHeight(
void)
const;
111 void windowMovedOrResized(
void);
112 void windowResized(
void);
113 void windowHasResized(
void);
114 void createNewWindow(
unsigned int width,
unsigned int height,
String title);
115 void createWindowFromExternal(NSView *viewRef);
118 void getCustomAttribute(
const String& name,
void* pData );
bool isHidden(void) const
RenderWindow::isHidden
OSXCocoaContext * mContext
float mContentScalingFactor
bool requiresTextureFlipping() const
OSXCocoaWindowDelegate * mWindowDelegate
NSOpenGLPixelFormat * nsopenGLPixelFormat() const
NSOpenGLContext * mGLContext
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
NSView * ogreView() const
bool mContentScalingSupported
NSWindow * ogreWindow() const
NSOpenGLPixelFormat * mGLPixelFormat
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.
NSOpenGLContext * nsopenGLContext() const