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;
std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > >::const_iterator const_drawable_iterator
void DeleteGLContext(Handle_t contextID)
Namespace for new ROOT classes and functions.
Window_t GetRootWindowID() const
Util::NSStrongReference< QuartzWindow > fFakeGLWindow
Drawable_t fCurrentDrawableID
Util::NSScopeGuard< ROOTApplicationDelegate > fApplicationDelegate
ctx2handle_map fGLContextToHandle
void ReplaceDrawable(Drawable_t drawableID, NSObject *nsObj)
NSObject< X11Window > * GetWindow(Window_t windowID) const
bool IsRootWindow(Window_t windowID) const
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)
NSObject< X11Drawable > * GetDrawable(Drawable_t drawableD) const
std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > > fDrawables
QuartzWindow * GetFakeGLWindow()
X11::ColorParser fX11ColorParser
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. ...
X11::CommandBuffer fX11CommandBuffer
This is non-GUI part of TVirtualX interface, implemented for MacOS X, using CoreGraphics (Quartz)...