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