*/
struct GestureHitTestCheck : public HitTestAlgorithm::HitTestInterface
{
- GestureHitTestCheck( Gesture::Type type )
+ GestureHitTestCheck( DevelGesture::Type type )
: mType( type )
{
}
+ GestureHitTestCheck( Gesture::Type type )
+ : GestureHitTestCheck( static_cast< DevelGesture::Type >( type ) )
+ {
+ }
+
virtual bool IsActorHittable( Actor* actor )
{
return actor->IsGestureRequred( mType ) && // Does the Application or derived actor type require the gesture?
return layer->IsTouchConsumed();
}
- Gesture::Type mType;
+ DevelGesture::Type mType;
};
} // unnamed namespace
-GestureProcessor::GestureProcessor( Gesture::Type type )
+GestureProcessor::GestureProcessor( DevelGesture::Type type )
: mGestureRecognizer(),
mNeedsUpdate( false ),
mType( type ),
{
}
+GestureProcessor::GestureProcessor( Gesture::Type type )
+: GestureProcessor( static_cast< DevelGesture::Type >( type ) )
+{
+}
+
+
GestureProcessor::~GestureProcessor()
{
ResetActor();