Go to the documentation of this file.
29 #ifndef __OSXCarbonWindow_H__
30 #define __OSXCarbonWindow_H__
48 virtual void create(
const String& name,
unsigned int width,
unsigned int height,
67 virtual void resize(
unsigned int width,
unsigned int height );
75 virtual void setFullscreen(
bool fullScreen,
unsigned int width,
unsigned int height);
OSXCGLContext * mCGLContext
virtual bool isActive(void) const
Overridden - see RenderWindow.
virtual void windowMovedOrResized()
Overridden - see RenderTarget.
EventHandlerRef mEventHandlerRef
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
virtual ~OSXCarbonWindow()
virtual bool isVisible(void) const
Overridden - see RenderWindow.
virtual bool isClosed(void) const
Overridden - see RenderWindow.
virtual void reposition(int left, int top)
Overridden - see RenderWindow.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
AGLPixelFormat mAGLPixelFormat
virtual void destroy(void)
Overridden - see RenderWindow.
void windowHasResized(void)
bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
void createNewWindow(unsigned int width, unsigned int height, String title)
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
void setHidden(bool hidden)
Hide (or show) the window.
bool requiresTextureFlipping(void) const
virtual void swapBuffers()
Overridden - see RenderWindow.
void createAGLContext(size_t fsaa_samples, int depth)
virtual void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Overridden - see RenderWindow.
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
virtual void setVisible(bool visible)
Overridden - see RenderWindow.
virtual void resize(unsigned int width, unsigned int height)
Overridden - see RenderWindow.
virtual void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Overridden - see RenderWindow.
void createWindowFromExternal(HIViewRef viewRef)
OSXCarbonContext * mCarbonContext
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