19#include <Foundation/Foundation.h>
52 friend class ::TGCocoa;
71 void SetPointerGrab(NSView<X11Window> *grabView,
unsigned eventMask,
bool ownerEvents);
void CheckUnmappedView(Window_t winID)
void FindKeyGrabView(NSView< X11Window > *eventView, NSEvent *theEvent)
NSView< X11Window > * fButtonGrabView
void GenerateFocusChangeEvent(NSView< X11Window > *eventView)
void FindButtonGrab(NSView< X11Window > *fromView, NSEvent *theEvent, EMouseButton btn)
void GenerateExposeEvent(NSView< X11Window > *view, const NSRect &exposedRect)
NSView< X11Window > * fFocusView
void GenerateKeyEventActiveGrab(NSView< X11Window > *eventView, NSEvent *theEvent)
void GenerateConfigureNotifyEvent(NSView< X11Window > *view, const NSRect &newFrame)
void GenerateCrossingEvent(NSEvent *theEvent)
void GenerateKeyEventForView(NSView< X11Window > *view, NSEvent *theEvent)
void GenerateButtonPressEventActiveGrab(NSView< X11Window > *view, NSEvent *theEvent, EMouseButton btn)
void GeneratePointerMotionEventNoGrab(NSEvent *theEvent)
void GenerateCrossingEventActiveGrab(NSEvent *theEvent)
NSView< X11Window > * fKeyGrabView
void GenerateButtonReleaseEventActiveGrab(NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
unsigned GetInputFocus() const
void GenerateButtonReleaseEventNoGrab(NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
bool HasPointerGrab() const
void GenerateKeyReleaseEvent(NSView< X11Window > *eventView, NSEvent *theEvent)
void SetPointerGrab(NSView< X11Window > *grabView, unsigned eventMask, bool ownerEvents)
EMouseButton fImplicitGrabButton
void GenerateKeyPressEvent(NSView< X11Window > *eventView, NSEvent *theEvent)
void GenerateKeyPressEventNoGrab(NSView< X11Window > *eventView, NSEvent *theEvent)
void GenerateKeyReleaseEventNoGrab(NSView< X11Window > *eventView, NSEvent *theEvent)
void GenerateCrossingEventNoGrab(NSEvent *theEvent)
void GeneratePointerMotionEventActiveGrab(NSEvent *theEvent)
PointerGrab fPointerGrabType
void GenerateButtonPressEvent(NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
void GeneratePointerMotionEvent(NSEvent *theEvent)
void GenerateDestroyNotify(unsigned winID)
NSView< X11Window > * fViewUnderPointer
void SetInputFocus(NSView< X11Window > *focusView)
void GenerateButtonPressEventNoGrab(NSView< X11Window > *view, NSEvent *theEvent, EMouseButton btn)
void GenerateButtonReleaseEvent(NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
This class implements TVirtualX interface for MacOS X, using Cocoa and Quartz 2D.
Int_t MapKeySymToKeyCode(Int_t keySym)
std::deque< Event_t > EventQueue_t
void MapUnicharToKeySym(unichar key, char *buf, Int_t len, UInt_t &rootKeySym)
NSUInteger GetCocoaKeyModifiersFromROOTKeyModifiers(UInt_t rootKeyModifiers)