Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ROOT::MacOSX::X11::EventTranslator Class Reference

Definition at line 53 of file X11Events.h.

Public Member Functions

 EventTranslator ()
 
void CancelPointerGrab ()
 
void CheckUnmappedView (Window_t winID)
 
void GenerateButtonPressEvent (NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
 
void GenerateButtonReleaseEvent (NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
 
void GenerateConfigureNotifyEvent (NSView< X11Window > *view, const NSRect &newFrame)
 
void GenerateCrossingEvent (NSEvent *theEvent)
 
void GenerateDestroyNotify (unsigned winID)
 
void GenerateExposeEvent (NSView< X11Window > *view, const NSRect &exposedRect)
 
void GenerateFocusChangeEvent (NSView< X11Window > *eventView)
 
void GenerateKeyPressEvent (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GenerateKeyReleaseEvent (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GeneratePointerMotionEvent (NSEvent *theEvent)
 
unsigned GetInputFocus () const
 
bool HasPointerGrab () const
 
void SetInputFocus (NSView< X11Window > *focusView)
 
void SetPointerGrab (NSView< X11Window > *grabView, unsigned eventMask, bool ownerEvents)
 

Private Member Functions

void FindButtonGrab (NSView< X11Window > *fromView, NSEvent *theEvent, EMouseButton btn)
 
void FindKeyGrabView (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GenerateButtonPressEventActiveGrab (NSView< X11Window > *view, NSEvent *theEvent, EMouseButton btn)
 
void GenerateButtonPressEventNoGrab (NSView< X11Window > *view, NSEvent *theEvent, EMouseButton btn)
 
void GenerateButtonReleaseEventActiveGrab (NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
 
void GenerateButtonReleaseEventNoGrab (NSView< X11Window > *eventView, NSEvent *theEvent, EMouseButton btn)
 
void GenerateCrossingEventActiveGrab (NSEvent *theEvent)
 
void GenerateCrossingEventNoGrab (NSEvent *theEvent)
 
void GenerateKeyEventActiveGrab (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GenerateKeyEventForView (NSView< X11Window > *view, NSEvent *theEvent)
 
void GenerateKeyPressEventNoGrab (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GenerateKeyReleaseEventNoGrab (NSView< X11Window > *eventView, NSEvent *theEvent)
 
void GeneratePointerMotionEventActiveGrab (NSEvent *theEvent)
 
void GeneratePointerMotionEventNoGrab (NSEvent *theEvent)
 

Private Attributes

NSView< X11Window > * fButtonGrabView
 
EventQueue_t fEventQueue
 
NSView< X11Window > * fFocusView
 
unsigned fGrabEventMask
 
EMouseButton fImplicitGrabButton
 
NSView< X11Window > * fKeyGrabView
 
bool fOwnerEvents
 
PointerGrab fPointerGrabType
 
NSView< X11Window > * fViewUnderPointer
 

Friends

class ::TGCocoa
 

#include <X11Events.h>

Constructor & Destructor Documentation

◆ EventTranslator()

ROOT::MacOSX::X11::EventTranslator::EventTranslator ( )

Definition at line 1139 of file X11Events.mm.

Member Function Documentation

◆ CancelPointerGrab()

void ROOT::MacOSX::X11::EventTranslator::CancelPointerGrab ( )

Definition at line 1388 of file X11Events.mm.

◆ CheckUnmappedView()

void ROOT::MacOSX::X11::EventTranslator::CheckUnmappedView ( Window_t  winID)

Definition at line 1482 of file X11Events.mm.

◆ FindButtonGrab()

void ROOT::MacOSX::X11::EventTranslator::FindButtonGrab ( NSView< X11Window > *  fromView,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1815 of file X11Events.mm.

◆ FindKeyGrabView()

void ROOT::MacOSX::X11::EventTranslator::FindKeyGrabView ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)
private

Definition at line 1863 of file X11Events.mm.

◆ GenerateButtonPressEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonPressEvent ( NSView< X11Window > *  eventView,
NSEvent *  theEvent,
EMouseButton  btn 
)

Definition at line 1264 of file X11Events.mm.

◆ GenerateButtonPressEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonPressEventActiveGrab ( NSView< X11Window > *  view,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1622 of file X11Events.mm.

◆ GenerateButtonPressEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonPressEventNoGrab ( NSView< X11Window > *  view,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1588 of file X11Events.mm.

◆ GenerateButtonReleaseEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonReleaseEvent ( NSView< X11Window > *  eventView,
NSEvent *  theEvent,
EMouseButton  btn 
)

Definition at line 1277 of file X11Events.mm.

◆ GenerateButtonReleaseEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonReleaseEventActiveGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1670 of file X11Events.mm.

◆ GenerateButtonReleaseEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateButtonReleaseEventNoGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent,
EMouseButton  btn 
)
private

Definition at line 1658 of file X11Events.mm.

◆ GenerateConfigureNotifyEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateConfigureNotifyEvent ( NSView< X11Window > *  view,
const NSRect &  newFrame 
)

Definition at line 1153 of file X11Events.mm.

◆ GenerateCrossingEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateCrossingEvent ( NSEvent *  theEvent)

Definition at line 1198 of file X11Events.mm.

◆ GenerateCrossingEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateCrossingEventActiveGrab ( NSEvent *  theEvent)
private

Definition at line 1220 of file X11Events.mm.

◆ GenerateCrossingEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateCrossingEventNoGrab ( NSEvent *  theEvent)
private

Definition at line 1209 of file X11Events.mm.

◆ GenerateDestroyNotify()

void ROOT::MacOSX::X11::EventTranslator::GenerateDestroyNotify ( unsigned  winID)

◆ GenerateExposeEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateExposeEvent ( NSView< X11Window > *  view,
const NSRect &  exposedRect 
)

Definition at line 1180 of file X11Events.mm.

◆ GenerateFocusChangeEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateFocusChangeEvent ( NSView< X11Window > *  eventView)

Definition at line 1328 of file X11Events.mm.

◆ GenerateKeyEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyEventActiveGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)
private

Definition at line 1739 of file X11Events.mm.

◆ GenerateKeyEventForView()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyEventForView ( NSView< X11Window > *  view,
NSEvent *  theEvent 
)
private

Definition at line 1791 of file X11Events.mm.

◆ GenerateKeyPressEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyPressEvent ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)

Definition at line 1292 of file X11Events.mm.

◆ GenerateKeyPressEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyPressEventNoGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)
private

Definition at line 1714 of file X11Events.mm.

◆ GenerateKeyReleaseEvent()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyReleaseEvent ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)

Definition at line 1308 of file X11Events.mm.

◆ GenerateKeyReleaseEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GenerateKeyReleaseEventNoGrab ( NSView< X11Window > *  eventView,
NSEvent *  theEvent 
)
private

Definition at line 1773 of file X11Events.mm.

◆ GeneratePointerMotionEvent()

void ROOT::MacOSX::X11::EventTranslator::GeneratePointerMotionEvent ( NSEvent *  theEvent)

Definition at line 1251 of file X11Events.mm.

◆ GeneratePointerMotionEventActiveGrab()

void ROOT::MacOSX::X11::EventTranslator::GeneratePointerMotionEventActiveGrab ( NSEvent *  theEvent)
private

Definition at line 1548 of file X11Events.mm.

◆ GeneratePointerMotionEventNoGrab()

void ROOT::MacOSX::X11::EventTranslator::GeneratePointerMotionEventNoGrab ( NSEvent *  theEvent)
private

Definition at line 1529 of file X11Events.mm.

◆ GetInputFocus()

unsigned ROOT::MacOSX::X11::EventTranslator::GetInputFocus ( ) const

Definition at line 1455 of file X11Events.mm.

◆ HasPointerGrab()

bool ROOT::MacOSX::X11::EventTranslator::HasPointerGrab ( ) const

Definition at line 1245 of file X11Events.mm.

◆ SetInputFocus()

void ROOT::MacOSX::X11::EventTranslator::SetInputFocus ( NSView< X11Window > *  focusView)

Definition at line 1439 of file X11Events.mm.

◆ SetPointerGrab()

void ROOT::MacOSX::X11::EventTranslator::SetPointerGrab ( NSView< X11Window > *  grabView,
unsigned  eventMask,
bool  ownerEvents 
)

Definition at line 1346 of file X11Events.mm.

Friends And Related Function Documentation

◆ ::TGCocoa

friend class ::TGCocoa
friend

Definition at line 54 of file X11Events.h.

Member Data Documentation

◆ fButtonGrabView

NSView<X11Window>* ROOT::MacOSX::X11::EventTranslator::fButtonGrabView
private

Definition at line 119 of file X11Events.h.

◆ fEventQueue

EventQueue_t ROOT::MacOSX::X11::EventTranslator::fEventQueue
private

Definition at line 124 of file X11Events.h.

◆ fFocusView

NSView<X11Window>* ROOT::MacOSX::X11::EventTranslator::fFocusView
private

Definition at line 121 of file X11Events.h.

◆ fGrabEventMask

unsigned ROOT::MacOSX::X11::EventTranslator::fGrabEventMask
private

Definition at line 115 of file X11Events.h.

◆ fImplicitGrabButton

EMouseButton ROOT::MacOSX::X11::EventTranslator::fImplicitGrabButton
private

Definition at line 122 of file X11Events.h.

◆ fKeyGrabView

NSView<X11Window>* ROOT::MacOSX::X11::EventTranslator::fKeyGrabView
private

Definition at line 120 of file X11Events.h.

◆ fOwnerEvents

bool ROOT::MacOSX::X11::EventTranslator::fOwnerEvents
private

Definition at line 116 of file X11Events.h.

◆ fPointerGrabType

PointerGrab ROOT::MacOSX::X11::EventTranslator::fPointerGrabType
private

Definition at line 114 of file X11Events.h.

◆ fViewUnderPointer

NSView<X11Window>* ROOT::MacOSX::X11::EventTranslator::fViewUnderPointer
private

Definition at line 112 of file X11Events.h.


The documentation for this class was generated from the following files: