Logo ROOT   6.07/09
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

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

Definition at line 1139 of file X11Events.mm.

Member Function Documentation

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

Definition at line 1388 of file X11Events.mm.

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

Definition at line 1482 of file X11Events.mm.

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

Definition at line 1815 of file X11Events.mm.

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

Definition at line 1863 of file X11Events.mm.

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

Definition at line 1264 of file X11Events.mm.

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

Definition at line 1622 of file X11Events.mm.

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

Definition at line 1588 of file X11Events.mm.

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

Definition at line 1277 of file X11Events.mm.

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

Definition at line 1670 of file X11Events.mm.

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

Definition at line 1658 of file X11Events.mm.

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

Definition at line 1153 of file X11Events.mm.

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

Definition at line 1198 of file X11Events.mm.

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

Definition at line 1220 of file X11Events.mm.

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

Definition at line 1209 of file X11Events.mm.

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

Definition at line 1180 of file X11Events.mm.

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

Definition at line 1328 of file X11Events.mm.

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

Definition at line 1739 of file X11Events.mm.

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

Definition at line 1791 of file X11Events.mm.

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

Definition at line 1292 of file X11Events.mm.

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

Definition at line 1714 of file X11Events.mm.

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

Definition at line 1308 of file X11Events.mm.

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

Definition at line 1773 of file X11Events.mm.

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

Definition at line 1251 of file X11Events.mm.

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

Definition at line 1548 of file X11Events.mm.

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

Definition at line 1529 of file X11Events.mm.

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

Definition at line 1455 of file X11Events.mm.

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

Definition at line 1245 of file X11Events.mm.

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

Definition at line 1439 of file X11Events.mm.

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

friend class ::TGCocoa
friend

Definition at line 54 of file X11Events.h.

Member Data Documentation

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

Definition at line 119 of file X11Events.h.

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

Definition at line 124 of file X11Events.h.

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

Definition at line 121 of file X11Events.h.

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

Definition at line 115 of file X11Events.h.

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

Definition at line 122 of file X11Events.h.

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

Definition at line 120 of file X11Events.h.

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

Definition at line 116 of file X11Events.h.

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

Definition at line 114 of file X11Events.h.

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: