13#ifndef ROOT_CocoaPrivate
14#define ROOT_CocoaPrivate
30@class NSOpenGLContext;
50 friend class ::TGCocoa;
51 friend class ::TGQuartz;
97 std::map<unsigned, Util::NSStrongReference<NSObject<X11Drawable> > >
fDrawables;
98 typedef std::map<unsigned, Util::NSStrongReference<NSObject<X11Drawable> > >::iterator
drawable_iterator;
101 typedef std::map<Handle_t, Util::NSStrongReference<NSOpenGLContext> >
handle2ctx_map;
void SetFakeGLWindow(QuartzWindow *fakeWin)
Drawable_t RegisterDrawable(NSObject *nsObj)
handle2ctx_map fHandleToGLContext
void DeleteDrawable(Drawable_t drawableID)
Window_t GetRootWindowID() const
X11::ColorParser fX11ColorParser
CocoaPrivate & operator=(const CocoaPrivate &rhs)
Handle_t GetHandleForGLContext(NSOpenGLContext *glContext)
std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > >::iterator drawable_iterator
std::map< NSOpenGLContext *, Handle_t > ctx2handle_map
Util::NSStrongReference< QuartzWindow > fFakeGLWindow
std::map< Handle_t, Util::NSStrongReference< NSOpenGLContext > > handle2ctx_map
NSObject< X11Drawable > * GetDrawable(Drawable_t drawableD) const
X11::CommandBuffer fX11CommandBuffer
X11::EventTranslator fX11EventTranslator
std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > >::const_iterator const_drawable_iterator
ctx2handle_map fGLContextToHandle
void DeleteGLContext(Handle_t contextID)
std::vector< Drawable_t > fFreeDrawableIDs
Handle_t fFreeGLContextID
Util::NSScopeGuard< ROOTApplicationDelegate > fApplicationDelegate
Handle_t RegisterGLContext(NSOpenGLContext *glContext)
NSObject< X11Window > * GetWindow(Window_t windowID) const
std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > > fDrawables
void ReplaceDrawable(Drawable_t drawableID, NSObject *nsObj)
QuartzWindow * GetFakeGLWindow()
CocoaPrivate(const CocoaPrivate &rhs)
Drawable_t fCurrentDrawableID
NSOpenGLContext * GetGLContextForHandle(Handle_t contextID)
bool IsRootWindow(Window_t windowID) const
This class implements TVirtualX interface for MacOS X, using Cocoa and Quartz 2D.
This is non-GUI part of TVirtualX interface, implemented for MacOS X, using CoreGraphics (Quartz).