ROOT  6.06/09
Reference Guide
Enumerations | Functions
ROOT::MacOSX::X11::Detail Namespace Reference

Enumerations

enum  Ancestry { kAView1IsParent, kAView2IsParent, kAHaveNonRootAncestor, kAAncestorIsRoot }
 

Functions

Time_t TimeForCocoaEvent (NSEvent *theEvent)
 
Event_t NewX11EventFromCocoaEvent (unsigned windowID, NSEvent *theEvent)
 
void ConvertEventLocationToROOTXY (NSEvent *cocoaEvent, NSView< X11Window > *eventView, Event_t *rootEvent)
 
unsigned GetKeyboardModifiersFromCocoaEvent (NSEvent *theEvent)
 
unsigned GetModifiersFromCocoaEvent (NSEvent *theEvent)
 
bool IsParent (NSView< X11Window > *testParent, NSView< X11Window > *testChild)
 
bool IsInBranch (NSView< X11Window > *parent, NSView< X11Window > *child, NSView< X11Window > *testView)
 
Ancestry FindLowestCommonAncestor (NSView< X11Window > *view1, NSView< X11Window > *view2, NSView< X11Window > **lca)
 
Ancestry FindRelation (NSView< X11Window > *view1, NSView< X11Window > *view2, NSView< X11Window > **lca)
 
NSView< X11Window > * FindViewToPropagateEvent (NSView< X11Window > *viewFrom, Mask_t checkMask)
 
NSView< X11Window > * FindViewToPropagateEvent (NSView< X11Window > *viewFrom, Mask_t checkMask, NSView< X11Window > *grabView, Mask_t grabMask)
 
void SendEnterEvent (EventQueue_t &queue, NSView< X11Window > *view, NSEvent *theEvent, EXMagic detail)
 
void SendLeaveEvent (EventQueue_t &queue, NSView< X11Window > *view, NSEvent *theEvent, EXMagic detail)
 
void SendPointerMotionEvent (EventQueue_t &queue, NSView< X11Window > *view, NSEvent *theEvent)
 
void SendButtonPressEvent (EventQueue_t &queue, NSView< X11Window > *view, NSEvent *theEvent, EMouseButton btn)
 
void SendButtonReleaseEvent (EventQueue_t &queue, NSView< X11Window > *view, NSEvent *theEvent, EMouseButton btn)
 
void SendKeyPressEvent (EventQueue_t &queue, NSView< X11Window > *view, NSView< X11Window > *childView, NSEvent *theEvent, NSPoint windowPoint)
 
void SendKeyReleaseEvent (EventQueue_t &queue, NSView< X11Window > *view, NSView< X11Window > *childView, NSEvent *theEvent, NSPoint windowPoint)
 
void SendFocusInEvent (EventQueue_t &queue, NSView< X11Window > *view, EXMagic mode)
 
void SendFocusOutEvent (EventQueue_t &queue, NSView< X11Window > *view, EXMagic mode)
 
void SendEnterEventRange (EventQueue_t &queue, NSView< X11Window > *from, NSView< X11Window > *to, NSEvent *theEvent, EXMagic mode)
 
void SendEnterEventClosedRange (EventQueue_t &queue, NSView< X11Window > *from, NSView< X11Window > *to, NSEvent *theEvent, EXMagic mode)
 
void SendLeaveEventRange (EventQueue_t &queue, NSView< X11Window > *from, NSView< X11Window > *to, NSEvent *theEvent, EXMagic mode)
 
void SendLeaveEventClosedRange (EventQueue_t &queue, NSView< X11Window > *from, NSView< X11Window > *to, NSEvent *theEvent, EXMagic mode)
 
void GenerateCrossingEventChildToParent (EventQueue_t &queue, NSView< X11Window > *parent, NSView< X11Window > *child, NSEvent *theEvent, EXMagic detail)
 
void GenerateCrossingEventParentToChild (EventQueue_t &queue, NSView< X11Window > *parent, NSView< X11Window > *child, NSEvent *theEvent, EXMagic detail)
 
void GenerateCrossingEventFromChild1ToChild2 (EventQueue_t &queue, NSView< X11Window > *child1, NSView< X11Window > *child2, NSView< X11Window > *ancestor, NSEvent *theEvent, EXMagic detail)
 
void GenerateCrossingEvents (EventQueue_t &queue, NSView< X11Window > *fromView, NSView< X11Window > *toView, NSEvent *theEvent, EXMagic detail)
 
void GenerateCrossingEventForGrabView (EventQueue_t &queue, NSView< X11Window > *fromView, NSView< X11Window > *toView, NSView< X11Window > *grabView, Mask_t grabEventMask, NSEvent *theEvent)
 

Enumeration Type Documentation

Enumerator
kAView1IsParent 
kAView2IsParent 
kAHaveNonRootAncestor 
kAAncestorIsRoot 

Definition at line 447 of file X11Events.mm.

Function Documentation

void ROOT::MacOSX::X11::Detail::ConvertEventLocationToROOTXY ( NSEvent *  cocoaEvent,
NSView< X11Window > *  eventView,
Event_t rootEvent 
)
Ancestry ROOT::MacOSX::X11::Detail::FindLowestCommonAncestor ( NSView< X11Window > *  view1,
NSView< X11Window > *  view2,
NSView< X11Window > **  lca 
)

Definition at line 455 of file X11Events.mm.

Referenced by FindRelation().

Ancestry ROOT::MacOSX::X11::Detail::FindRelation ( NSView< X11Window > *  view1,
NSView< X11Window > *  view2,
NSView< X11Window > **  lca 
)

Definition at line 483 of file X11Events.mm.

Referenced by GenerateCrossingEventForGrabView(), and GenerateCrossingEvents().

NSView<X11Window>* ROOT::MacOSX::X11::Detail::FindViewToPropagateEvent ( NSView< X11Window > *  viewFrom,
Mask_t  checkMask 
)
NSView<X11Window>* ROOT::MacOSX::X11::Detail::FindViewToPropagateEvent ( NSView< X11Window > *  viewFrom,
Mask_t  checkMask,
NSView< X11Window > *  grabView,
Mask_t  grabMask 
)

Definition at line 516 of file X11Events.mm.

void ROOT::MacOSX::X11::Detail::GenerateCrossingEventChildToParent ( EventQueue_t queue,
NSView< X11Window > *  parent,
NSView< X11Window > *  child,
NSEvent *  theEvent,
EXMagic  detail 
)

Definition at line 917 of file X11Events.mm.

Referenced by GenerateCrossingEvents().

void ROOT::MacOSX::X11::Detail::GenerateCrossingEventForGrabView ( EventQueue_t queue,
NSView< X11Window > *  fromView,
NSView< X11Window > *  toView,
NSView< X11Window > *  grabView,
Mask_t  grabEventMask,
NSEvent *  theEvent 
)
void ROOT::MacOSX::X11::Detail::GenerateCrossingEventFromChild1ToChild2 ( EventQueue_t queue,
NSView< X11Window > *  child1,
NSView< X11Window > *  child2,
NSView< X11Window > *  ancestor,
NSEvent *  theEvent,
EXMagic  detail 
)

Definition at line 978 of file X11Events.mm.

Referenced by GenerateCrossingEvents().

void ROOT::MacOSX::X11::Detail::GenerateCrossingEventParentToChild ( EventQueue_t queue,
NSView< X11Window > *  parent,
NSView< X11Window > *  child,
NSEvent *  theEvent,
EXMagic  detail 
)

Definition at line 947 of file X11Events.mm.

Referenced by GenerateCrossingEvents().

void ROOT::MacOSX::X11::Detail::GenerateCrossingEvents ( EventQueue_t queue,
NSView< X11Window > *  fromView,
NSView< X11Window > *  toView,
NSEvent *  theEvent,
EXMagic  detail 
)
unsigned ROOT::MacOSX::X11::Detail::GetKeyboardModifiersFromCocoaEvent ( NSEvent *  theEvent)
unsigned ROOT::MacOSX::X11::Detail::GetModifiersFromCocoaEvent ( NSEvent *  theEvent)

Definition at line 393 of file X11Events.mm.

Referenced by SendEnterEvent(), SendLeaveEvent(), and SendPointerMotionEvent().

bool ROOT::MacOSX::X11::Detail::IsInBranch ( NSView< X11Window > *  parent,
NSView< X11Window > *  child,
NSView< X11Window > *  testView 
)

Definition at line 430 of file X11Events.mm.

Referenced by GenerateCrossingEventForGrabView().

bool ROOT::MacOSX::X11::Detail::IsParent ( NSView< X11Window > *  testParent,
NSView< X11Window > *  testChild 
)
Event_t ROOT::MacOSX::X11::Detail::NewX11EventFromCocoaEvent ( unsigned  windowID,
NSEvent *  theEvent 
)
void ROOT::MacOSX::X11::Detail::SendButtonPressEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSEvent *  theEvent,
EMouseButton  btn 
)
void ROOT::MacOSX::X11::Detail::SendButtonReleaseEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSEvent *  theEvent,
EMouseButton  btn 
)
void ROOT::MacOSX::X11::Detail::SendEnterEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSEvent *  theEvent,
EXMagic  detail 
)
void ROOT::MacOSX::X11::Detail::SendEnterEventClosedRange ( EventQueue_t queue,
NSView< X11Window > *  from,
NSView< X11Window > *  to,
NSEvent *  theEvent,
EXMagic  mode 
)
void ROOT::MacOSX::X11::Detail::SendEnterEventRange ( EventQueue_t queue,
NSView< X11Window > *  from,
NSView< X11Window > *  to,
NSEvent *  theEvent,
EXMagic  mode 
)
void ROOT::MacOSX::X11::Detail::SendFocusInEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
EXMagic  mode 
)
void ROOT::MacOSX::X11::Detail::SendFocusOutEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
EXMagic  mode 
)
void ROOT::MacOSX::X11::Detail::SendKeyPressEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSView< X11Window > *  childView,
NSEvent *  theEvent,
NSPoint  windowPoint 
)
void ROOT::MacOSX::X11::Detail::SendKeyReleaseEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSView< X11Window > *  childView,
NSEvent *  theEvent,
NSPoint  windowPoint 
)
void ROOT::MacOSX::X11::Detail::SendLeaveEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSEvent *  theEvent,
EXMagic  detail 
)
void ROOT::MacOSX::X11::Detail::SendLeaveEventClosedRange ( EventQueue_t queue,
NSView< X11Window > *  from,
NSView< X11Window > *  to,
NSEvent *  theEvent,
EXMagic  mode 
)
void ROOT::MacOSX::X11::Detail::SendLeaveEventRange ( EventQueue_t queue,
NSView< X11Window > *  from,
NSView< X11Window > *  to,
NSEvent *  theEvent,
EXMagic  mode 
)
void ROOT::MacOSX::X11::Detail::SendPointerMotionEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSEvent *  theEvent 
)
Time_t ROOT::MacOSX::X11::Detail::TimeForCocoaEvent ( NSEvent *  theEvent)

Definition at line 321 of file X11Events.mm.

Referenced by NewX11EventFromCocoaEvent().