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