Logo ROOT  
Reference Guide
X11Events.mm File Reference
#include <algorithm>
#include <cassert>
#include <Cocoa/Cocoa.h>
#include "CocoaConstants.h"
#include "ROOTOpenGLView.h"
#include "QuartzWindow.h"
#include "CocoaUtils.h"
#include "KeySymbols.h"
#include "X11Events.h"
#include "TGClient.h"
#include "TGWindow.h"
#include "TList.h"
Include dependency graph for X11Events.mm:

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::MacOSX
 
namespace  ROOT::MacOSX::X11
 
namespace  ROOT::MacOSX::X11::Detail
 

Enumerations

enum  ROOT::MacOSX::X11::Detail::Ancestry { ROOT::MacOSX::X11::Detail::kAView1IsParent , ROOT::MacOSX::X11::Detail::kAView2IsParent , ROOT::MacOSX::X11::Detail::kAHaveNonRootAncestor , ROOT::MacOSX::X11::Detail::kAAncestorIsRoot }
 

Functions

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)
 
Ancestry ROOT::MacOSX::X11::Detail::FindRelation (NSView< X11Window > *view1, NSView< X11Window > *view2, NSView< X11Window > **lca)
 
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)
 
void ROOT::MacOSX::X11::Detail::GenerateCrossingEventChildToParent (EventQueue_t &queue, NSView< X11Window > *parent, NSView< X11Window > *child, NSEvent *theEvent, EXMagic detail)
 
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)
 
void ROOT::MacOSX::X11::Detail::GenerateCrossingEventParentToChild (EventQueue_t &queue, NSView< X11Window > *parent, NSView< X11Window > *child, NSEvent *theEvent, EXMagic detail)
 
void ROOT::MacOSX::X11::Detail::GenerateCrossingEvents (EventQueue_t &queue, NSView< X11Window > *fromView, NSView< X11Window > *toView, NSEvent *theEvent, EXMagic detail)
 
NSUInteger ROOT::MacOSX::X11::GetCocoaKeyModifiersFromROOTKeyModifiers (UInt_t rootKeyModifiers)
 
UInt_t ROOT::MacOSX::X11::GetKeyboardModifiers ()
 
unsigned ROOT::MacOSX::X11::Detail::GetKeyboardModifiersFromCocoaEvent (NSEvent *theEvent)
 
UInt_t ROOT::MacOSX::X11::GetModifiers ()
 
unsigned ROOT::MacOSX::X11::Detail::GetModifiersFromCocoaEvent (NSEvent *theEvent)
 
bool ROOT::MacOSX::X11::Detail::IsInBranch (NSView< X11Window > *parent, NSView< X11Window > *child, NSView< X11Window > *testView)
 
bool ROOT::MacOSX::X11::Detail::IsParent (NSView< X11Window > *testParent, NSView< X11Window > *testChild)
 
Int_t ROOT::MacOSX::X11::MapKeySymToKeyCode (Int_t keySym)
 
void ROOT::MacOSX::X11::MapUnicharToKeySym (unichar key, char *buf, Int_t len, UInt_t &rootKeySym)
 
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)
 

Variable Documentation

◆ fFirst

T1 fFirst
protected

Definition at line 86 of file X11Events.mm.

◆ fSecond

T2 fSecond
protected

Definition at line 87 of file X11Events.mm.