Guiliani  Version 2.6 revision 7293 (documentation build 12)
CGUIGestureEvent Class Reference

#include <GUIGestureDetector.h>

Inheritance diagram for CGUIGestureEvent:

Public Member Functions

 CGUIGestureEvent (const EventType_t &eType, const eC_Int &iX, const eC_Int &iY, const eC_Value &vSpan, const eC_Value &vSpanX, const eC_Value &vSpanY, const eC_UInt &uiModifiers=0)
 
eC_Value GetSpan () const
 
eC_Value GetSpanX () const
 
eC_Value GetSpanY () const
 
eC_Int GetX () const
 
eC_Int GetY () const
 
- Public Member Functions inherited from CGUIEvent
 CGUIEvent (const EventType_t &eType, const eC_UInt &uiModifiers)
 
virtual ~CGUIEvent ()
 Destructor.
 
EventSource_t GetEventSource () const
 
eC_UInt GetModifiers () const
 
EventType_t GetType () const
 

Additional Inherited Members

- Public Types inherited from CGUIEvent
enum  EventSource_t { ES_NONE = 0x00000000 , ES_KEYBOARD , ES_MOUSE }
 
enum  Modifier_t {
  GKM_NONE = 0x00000000 , GKM_SHIFT = 0x00000001 , GKM_CONTROL = 0x00000002 , GKM_ALT = 0x00000004 ,
  GKM_META = 0x00000008
}
 

Detailed Description

this class defines an new event-class used for gestures

Constructor & Destructor Documentation

◆ CGUIGestureEvent()

CGUIGestureEvent::CGUIGestureEvent ( const EventType_t eType,
const eC_Int &  iX,
const eC_Int &  iY,
const eC_Value &  vSpan,
const eC_Value &  vSpanX,
const eC_Value &  vSpanY,
const eC_UInt &  uiModifiers = 0 
)
inline

Constructor

Parameters
eTypeevent-type
iXx-position
iYy-position
vSpandiagonal span
vSpanXspan in x-direction
vSpanYspan in y-direction
uiModifiersmodifiers

Member Function Documentation

◆ GetSpan()

eC_Value CGUIGestureEvent::GetSpan ( ) const
inline

Get diagonal span

Returns
span

◆ GetSpanX()

eC_Value CGUIGestureEvent::GetSpanX ( ) const
inline

Get span in x-direction

Returns
span-x

◆ GetSpanY()

eC_Value CGUIGestureEvent::GetSpanY ( ) const
inline

Get span in y-direction

Returns
span-y

◆ GetX()

eC_Int CGUIGestureEvent::GetX ( ) const
inline

Get x-position

Returns
x

◆ GetY()

eC_Int CGUIGestureEvent::GetY ( ) const
inline

Get y-position

Returns
y

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