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