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