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
void DeleteGLContext(Handle_t contextID)
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
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)...