00001 #include "TouchPoint.h" 00002 00003 namespace RenderTools { 00004 00005 const Vec2 & TouchPoint::getPointNow( void ) const { 00006 return( m_now ); 00007 } 00008 00009 const Vec2 & TouchPoint::getPointBefore( void ) const { 00010 return( m_before ); 00011 } 00012 00013 unsigned int TouchPoint::getTaps( void ) const { 00014 return( m_taps ); 00015 } 00016 00017 float TouchPoint::getTimeStamp( void ) const { 00018 return( m_timestamp ); 00019 } 00020 00021 float TouchPoint::getHolding( void ) const { 00022 return( m_holding ); 00023 } 00024 00025 void TouchPoint::setPointNow( const Vec2 & v ){ 00026 m_now = v; 00027 } 00028 00029 void TouchPoint::setPointBefore( const Vec2 & v ){ 00030 m_before = v; 00031 } 00032 00033 void TouchPoint::setTaps( unsigned int t ){ 00034 m_taps = t; 00035 } 00036 00037 void TouchPoint::setTimeStamp( float t ){ 00038 m_timestamp = t; 00039 } 00040 00041 void TouchPoint::setHolding( float t ){ 00042 m_holding = t; 00043 } 00044 00045 }; 00046
1.5.8