29 #ifndef __OSXCocoaWindow_H__ 30 #define __OSXCocoaWindow_H__ 34 #include <AppKit/NSWindow.h> 35 #include <QuartzCore/CVDisplayLink.h> 68 void _setWindowParameters(
void);
78 void create(
const String& name,
unsigned int width,
unsigned int height,
83 bool isActive(
void)
const;
85 bool isClosed(
void)
const;
89 void setHidden(
bool hidden);
91 void setVSyncEnabled(
bool vsync);
93 bool isVSyncEnabled()
const;
95 void reposition(
int left,
int top);
97 void resize(
unsigned int width,
unsigned int height);
103 virtual void setFullscreen(
bool fullScreen,
unsigned int width,
unsigned int height);
105 virtual unsigned int getWidth(
void)
const;
107 virtual unsigned int getHeight(
void)
const;
109 void windowMovedOrResized(
void);
110 void windowResized(
void);
111 void windowHasResized(
void);
112 void createNewWindow(
unsigned int width,
unsigned int height,
String title);
113 void createWindowFromExternal(NSView *viewRef);
116 void getCustomAttribute(
const String& name,
void* pData );
CocoaWindowDelegate * mWindowDelegate
NSView * ogreView() const
NSOpenGLContext * nsopenGLContext() const
bool requiresTextureFlipping() const
float mContentScalingFactor
CVDisplayLinkRef mDisplayLink
#define _OgreGL3PlusExport
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
NSOpenGLContext * mGLContext
bool isHidden(void) const
RenderWindow::isHidden
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
Manages the target rendering window.
NSOpenGLPixelFormat * mGLPixelFormat
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
NSWindow * ogreWindow() const