Logo Search packages:      
Sourcecode: blender version File versions  Download package

GHOST_SystemCarbon Class Reference

#include <GHOST_SystemCarbon.h>

Inheritance diagram for GHOST_SystemCarbon:

GHOST_System GHOST_ISystem

List of all members.


Detailed Description

OSX/Carbon Implementation of GHOST_System class.
See also:
GHOST_System.
Author:
Maarten Gribnau
Date:
May 21, 2001

Definition at line 55 of file GHOST_SystemCarbon.h.


Public Member Functions

virtual GHOST_TSuccess addEventConsumer (GHOST_IEventConsumer *consumer)
virtual GHOST_TSuccess beginFullScreen (const GHOST_DisplaySetting &setting, GHOST_IWindow **window, const bool stereoVisual)
virtual GHOST_IWindowcreateWindow (const STR_String &title, GHOST_TInt32 left, GHOST_TInt32 top, GHOST_TUns32 width, GHOST_TUns32 height, GHOST_TWindowState state, GHOST_TDrawingContextType type, const bool stereoVisual)
virtual bool dispatchEvents ()
virtual GHOST_TSuccess disposeWindow (GHOST_IWindow *window)
virtual GHOST_TSuccess endFullScreen (void)
virtual GHOST_TSuccess getButtons (GHOST_Buttons &buttons) const
virtual GHOST_TSuccess getButtonState (GHOST_TButtonMask mask, bool &isDown) const
virtual GHOST_TUns8 * getClipboard (int flag) const
virtual GHOST_TSuccess getCursorPosition (GHOST_TInt32 &x, GHOST_TInt32 &y) const
virtual GHOST_EventManagergetEventManager () const
virtual bool getFullScreen (void)
virtual void getMainDisplayDimensions (GHOST_TUns32 &width, GHOST_TUns32 &height) const
virtual GHOST_TUns64 getMilliSeconds () const
virtual GHOST_TSuccess getModifierKeys (GHOST_ModifierKeys &keys) const
virtual GHOST_TSuccess getModifierKeyState (GHOST_TModifierKeyMask mask, bool &isDown) const
virtual GHOST_NDOFManager * getNDOFManager () const
virtual GHOST_TUns8 getNumDisplays () const
virtual GHOST_TimerManagergetTimerManager () const
virtual GHOST_WindowManagergetWindowManager () const
 GHOST_SystemCarbon ()
virtual GHOST_ITimerTaskinstallTimer (GHOST_TUns64 delay, GHOST_TUns64 interval, GHOST_TimerProcPtr timerProc, GHOST_TUserDataPtr userData=0)
virtual int openNDOF (GHOST_IWindow *w, GHOST_NDOFLibraryInit_fp setNdofLibraryInit, GHOST_NDOFLibraryShutdown_fp setNdofLibraryShutdown, GHOST_NDOFDeviceOpen_fp setNdofDeviceOpen)
virtual bool processEvents (bool waitForEvent)
virtual GHOST_TSuccess pushEvent (GHOST_IEvent *event)
virtual void putClipboard (GHOST_TInt8 *buffer, int flag) const
virtual GHOST_TSuccess removeTimer (GHOST_ITimerTask *timerTask)
virtual GHOST_TSuccess setCursorPosition (GHOST_TInt32 x, GHOST_TInt32 y) const
virtual bool validWindow (GHOST_IWindow *window)
 ~GHOST_SystemCarbon ()

Static Public Member Functions

static GHOST_TSuccess createSystem ()
static GHOST_TSuccess disposeSystem ()
static GHOST_ISystemgetSystem ()

Protected Member Functions

virtual GHOST_TSuccess createFullScreenWindow (GHOST_Window **window, const bool stereoVisual)
virtual GHOST_TSuccess exit ()
OSStatus handleKeyEvent (EventRef event)
bool handleMenuCommand (GHOST_TInt32 menuResult)
bool handleMouseDown (EventRef event)
OSStatus handleMouseEvent (EventRef event)
OSStatus handleTabletEvent (EventRef event)
OSStatus handleWindowEvent (EventRef event)
virtual GHOST_TSuccess init ()

Static Protected Member Functions

static OSErr sAEHandlerLaunch (const AppleEvent *event, AppleEvent *reply, SInt32 refCon)
static OSErr sAEHandlerOpenDocs (const AppleEvent *event, AppleEvent *reply, SInt32 refCon)
static OSErr sAEHandlerPrintDocs (const AppleEvent *event, AppleEvent *reply, SInt32 refCon)
static OSErr sAEHandlerQuit (const AppleEvent *event, AppleEvent *reply, SInt32 refCon)
static OSStatus sEventHandlerProc (EventHandlerCallRef handler, EventRef event, void *userData)

Protected Attributes

GHOST_DisplayManagerm_displayManager
GHOST_EventManagerm_eventManager
EventHandlerRef m_handler
bool m_ignoreWindowSizedMessages
UInt32 m_modifierMask
GHOST_NDOFManager * m_ndofManager
GHOST_DisplaySetting m_preFullScreenSetting
GHOST_TUns64 m_start_time
GHOST_TimerManagerm_timerManager
GHOST_WindowManagerm_windowManager

Static Protected Attributes

static GHOST_ISystemm_system = 0

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index