Logo ROOT   6.08/07
Reference Guide
Enumerations | Functions
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 448 of file X11Events.mm.

Function Documentation

◆ ConvertEventLocationToROOTXY()

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

Definition at line 344 of file X11Events.mm.

◆ FindLowestCommonAncestor()

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

Definition at line 456 of file X11Events.mm.

◆ FindRelation()

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

Definition at line 484 of file X11Events.mm.

◆ FindViewToPropagateEvent() [1/2]

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

Definition at line 500 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 517 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 918 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 1090 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 979 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 948 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 1019 of file X11Events.mm.

◆ GetKeyboardModifiersFromCocoaEvent()

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

Definition at line 373 of file X11Events.mm.

◆ GetModifiersFromCocoaEvent()

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

Definition at line 394 of file X11Events.mm.

◆ IsInBranch()

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

Definition at line 431 of file X11Events.mm.

◆ IsParent()

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

Definition at line 413 of file X11Events.mm.

◆ NewX11EventFromCocoaEvent()

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

Definition at line 331 of file X11Events.mm.

◆ SendButtonPressEvent()

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

Definition at line 640 of file X11Events.mm.

◆ SendButtonReleaseEvent()

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

Definition at line 690 of file X11Events.mm.

◆ SendEnterEvent()

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

Definition at line 544 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 869 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 853 of file X11Events.mm.

◆ SendFocusInEvent()

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

Definition at line 809 of file X11Events.mm.

◆ SendFocusOutEvent()

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

Definition at line 830 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 721 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 765 of file X11Events.mm.

◆ SendLeaveEvent()

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

Definition at line 579 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 899 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 883 of file X11Events.mm.

◆ SendPointerMotionEvent()

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

Definition at line 611 of file X11Events.mm.

◆ TimeForCocoaEvent()

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

Definition at line 322 of file X11Events.mm.