Logo ROOT  
Reference Guide
ROOT::MacOSX::X11::Detail Namespace Reference

Enumerations

enum  Ancestry { kAView1IsParent , kAView2IsParent , kAHaveNonRootAncestor , kAAncestorIsRoot }
 

Functions

void ConvertEventLocationToROOTXY (NSEvent *cocoaEvent, NSView< X11Window > *eventView, Event_t *rootEvent)
 
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 GenerateCrossingEventChildToParent (EventQueue_t &queue, NSView< X11Window > *parent, NSView< X11Window > *child, NSEvent *theEvent, EXMagic detail)
 
void GenerateCrossingEventForGrabView (EventQueue_t &queue, NSView< X11Window > *fromView, NSView< X11Window > *toView, NSView< X11Window > *grabView, Mask_t grabEventMask, NSEvent *theEvent)
 
void GenerateCrossingEventFromChild1ToChild2 (EventQueue_t &queue, NSView< X11Window > *child1, NSView< X11Window > *child2, NSView< X11Window > *ancestor, NSEvent *theEvent, EXMagic detail)
 
void GenerateCrossingEventParentToChild (EventQueue_t &queue, NSView< X11Window > *parent, NSView< X11Window > *child, NSEvent *theEvent, EXMagic detail)
 
void GenerateCrossingEvents (EventQueue_t &queue, NSView< X11Window > *fromView, NSView< X11Window > *toView, NSEvent *theEvent, EXMagic detail)
 
unsigned GetKeyboardModifiersFromCocoaEvent (NSEvent *theEvent)
 
unsigned GetModifiersFromCocoaEvent (NSEvent *theEvent)
 
bool IsInBranch (NSView< X11Window > *parent, NSView< X11Window > *child, NSView< X11Window > *testView)
 
bool IsParent (NSView< X11Window > *testParent, NSView< X11Window > *testChild)
 
Event_t NewX11EventFromCocoaEvent (unsigned windowID, 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 SendEnterEvent (EventQueue_t &queue, NSView< X11Window > *view, NSEvent *theEvent, EXMagic detail)
 
void SendEnterEventClosedRange (EventQueue_t &queue, NSView< X11Window > *from, NSView< X11Window > *to, NSEvent *theEvent, EXMagic mode)
 
void SendEnterEventRange (EventQueue_t &queue, NSView< X11Window > *from, NSView< X11Window > *to, NSEvent *theEvent, EXMagic mode)
 
void SendFocusInEvent (EventQueue_t &queue, NSView< X11Window > *view, EXMagic mode)
 
void SendFocusOutEvent (EventQueue_t &queue, NSView< X11Window > *view, EXMagic mode)
 
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 SendLeaveEvent (EventQueue_t &queue, NSView< X11Window > *view, NSEvent *theEvent, EXMagic detail)
 
void SendLeaveEventClosedRange (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 SendPointerMotionEvent (EventQueue_t &queue, NSView< X11Window > *view, NSEvent *theEvent)
 
Time_t TimeForCocoaEvent (NSEvent *theEvent)
 

Enumeration Type Documentation

◆ Ancestry

Enumerator
kAView1IsParent 
kAView2IsParent 
kAHaveNonRootAncestor 
kAAncestorIsRoot 

Definition at line 444 of file X11Events.mm.

Function Documentation

◆ ConvertEventLocationToROOTXY()

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

Definition at line 341 of file X11Events.mm.

◆ FindLowestCommonAncestor()

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

Definition at line 452 of file X11Events.mm.

◆ FindRelation()

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

Definition at line 480 of file X11Events.mm.

◆ FindViewToPropagateEvent() [1/2]

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

Definition at line 496 of file X11Events.mm.

◆ FindViewToPropagateEvent() [2/2]

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

Definition at line 513 of file X11Events.mm.

◆ GenerateCrossingEventChildToParent()

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

Definition at line 914 of file X11Events.mm.

◆ GenerateCrossingEventForGrabView()

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

Definition at line 1086 of file X11Events.mm.

◆ GenerateCrossingEventFromChild1ToChild2()

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 975 of file X11Events.mm.

◆ GenerateCrossingEventParentToChild()

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

Definition at line 944 of file X11Events.mm.

◆ GenerateCrossingEvents()

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

Definition at line 1015 of file X11Events.mm.

◆ GetKeyboardModifiersFromCocoaEvent()

unsigned ROOT::MacOSX::X11::Detail::GetKeyboardModifiersFromCocoaEvent ( NSEvent theEvent)

Definition at line 369 of file X11Events.mm.

◆ GetModifiersFromCocoaEvent()

unsigned ROOT::MacOSX::X11::Detail::GetModifiersFromCocoaEvent ( NSEvent theEvent)

Definition at line 390 of file X11Events.mm.

◆ IsInBranch()

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

Definition at line 427 of file X11Events.mm.

◆ IsParent()

bool ROOT::MacOSX::X11::Detail::IsParent ( NSView< X11Window > *  testParent,
NSView< X11Window > *  testChild 
)

Definition at line 409 of file X11Events.mm.

◆ NewX11EventFromCocoaEvent()

Event_t ROOT::MacOSX::X11::Detail::NewX11EventFromCocoaEvent ( unsigned  windowID,
NSEvent theEvent 
)

Definition at line 328 of file X11Events.mm.

◆ SendButtonPressEvent()

void ROOT::MacOSX::X11::Detail::SendButtonPressEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSEvent theEvent,
EMouseButton  btn 
)

Definition at line 636 of file X11Events.mm.

◆ SendButtonReleaseEvent()

void ROOT::MacOSX::X11::Detail::SendButtonReleaseEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSEvent theEvent,
EMouseButton  btn 
)

Definition at line 686 of file X11Events.mm.

◆ SendEnterEvent()

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

Definition at line 540 of file X11Events.mm.

◆ SendEnterEventClosedRange()

void ROOT::MacOSX::X11::Detail::SendEnterEventClosedRange ( EventQueue_t queue,
NSView< X11Window > *  from,
NSView< X11Window > *  to,
NSEvent theEvent,
EXMagic  mode 
)

Definition at line 865 of file X11Events.mm.

◆ SendEnterEventRange()

void ROOT::MacOSX::X11::Detail::SendEnterEventRange ( EventQueue_t queue,
NSView< X11Window > *  from,
NSView< X11Window > *  to,
NSEvent theEvent,
EXMagic  mode 
)

Definition at line 849 of file X11Events.mm.

◆ SendFocusInEvent()

void ROOT::MacOSX::X11::Detail::SendFocusInEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
EXMagic  mode 
)

Definition at line 805 of file X11Events.mm.

◆ SendFocusOutEvent()

void ROOT::MacOSX::X11::Detail::SendFocusOutEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
EXMagic  mode 
)

Definition at line 826 of file X11Events.mm.

◆ SendKeyPressEvent()

void ROOT::MacOSX::X11::Detail::SendKeyPressEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSView< X11Window > *  childView,
NSEvent theEvent,
NSPoint  windowPoint 
)

Definition at line 717 of file X11Events.mm.

◆ SendKeyReleaseEvent()

void ROOT::MacOSX::X11::Detail::SendKeyReleaseEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSView< X11Window > *  childView,
NSEvent theEvent,
NSPoint  windowPoint 
)

Definition at line 761 of file X11Events.mm.

◆ SendLeaveEvent()

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

Definition at line 575 of file X11Events.mm.

◆ SendLeaveEventClosedRange()

void ROOT::MacOSX::X11::Detail::SendLeaveEventClosedRange ( EventQueue_t queue,
NSView< X11Window > *  from,
NSView< X11Window > *  to,
NSEvent theEvent,
EXMagic  mode 
)

Definition at line 895 of file X11Events.mm.

◆ SendLeaveEventRange()

void ROOT::MacOSX::X11::Detail::SendLeaveEventRange ( EventQueue_t queue,
NSView< X11Window > *  from,
NSView< X11Window > *  to,
NSEvent theEvent,
EXMagic  mode 
)

Definition at line 879 of file X11Events.mm.

◆ SendPointerMotionEvent()

void ROOT::MacOSX::X11::Detail::SendPointerMotionEvent ( EventQueue_t queue,
NSView< X11Window > *  view,
NSEvent theEvent 
)

Definition at line 607 of file X11Events.mm.

◆ TimeForCocoaEvent()

Time_t ROOT::MacOSX::X11::Detail::TimeForCocoaEvent ( NSEvent theEvent)

Definition at line 319 of file X11Events.mm.