X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fevents%2Ftouch-event-processor.h;h=61edccafa71811e29bf385116540e645cf2b253a;hb=c163578c36b4a1674b06ab7f1f3cd446b7f840f6;hp=e0c38b7feedb0ee82429e4c5e068527e33bc461e;hpb=b3355d3e24c02b29c0ffd6d98c996cf45946d276;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/events/touch-event-processor.h b/dali/internal/event/events/touch-event-processor.h index e0c38b7..61edcca 100644 --- a/dali/internal/event/events/touch-event-processor.h +++ b/dali/internal/event/events/touch-event-processor.h @@ -1,8 +1,8 @@ -#ifndef __DALI_INTERNAL_TOUCH_EVENT_PROCESSOR_H__ -#define __DALI_INTERNAL_TOUCH_EVENT_PROCESSOR_H__ +#ifndef DALI_INTERNAL_TOUCH_EVENT_PROCESSOR_H +#define DALI_INTERNAL_TOUCH_EVENT_PROCESSOR_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,8 +19,8 @@ */ // INTERNAL INCLUDES -#include #include +#include namespace Dali { @@ -38,7 +38,7 @@ namespace Internal { class Actor; -class Stage; +class Scene; struct ActorObserver; /** @@ -55,9 +55,9 @@ public: /** * Create an event processor. - * @param[in] stage The stage. + * @param[in] scene The scene the event processor belongs to. */ - TouchEventProcessor( Stage& stage ); + TouchEventProcessor( Scene& scene ); /** * Non-virtual destructor; TouchEventProcessor is not a base class @@ -78,6 +78,10 @@ private: // Undefined TouchEventProcessor& operator=(const TouchEventProcessor& rhs); +private: + + Scene& mScene; ///< Used to deliver touch events + /** * Called by some actor-observers when the observed actor is disconnected. * @@ -85,17 +89,14 @@ private: */ void OnObservedActorDisconnected( Actor* actor ); -private: - - Stage& mStage; ///< Used to deliver touch events ActorObserver mLastPrimaryHitActor; ///< Stores the last primary point hit actor ActorObserver mLastConsumedActor; ///< Stores the last consumed actor ActorObserver mTouchDownConsumedActor; ///< Stores the touch-down consumed actor - Dali::RenderTask mLastRenderTask; ///< The RenderTask used for the last hit actor + RenderTaskPtr mLastRenderTask; ///< The RenderTask used for the last hit actor }; } // namespace Internal } // namespace Dali -#endif // __DALI_INTERNAL_TOUCH_EVENT_PROCESSOR_H__ +#endif // DALI_INTERNAL_TOUCH_EVENT_PROCESSOR_H