X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=base%2Fdali-toolkit%2Finternal%2Ffocus-manager%2Ffocus-manager-impl.cpp;h=efe85b7e48a61d48c14fffe82273437e7ddd84c0;hb=refs%2Fchanges%2F21%2F30221%2F1;hp=8d90de6bd6e56454de8a5415954dfd68ec0b8fed;hpb=d160a0e0ef708245ecbf94e6e34d7bd9f0cad0c7;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/base/dali-toolkit/internal/focus-manager/focus-manager-impl.cpp b/base/dali-toolkit/internal/focus-manager/focus-manager-impl.cpp index 8d90de6..efe85b7 100644 --- a/base/dali-toolkit/internal/focus-manager/focus-manager-impl.cpp +++ b/base/dali-toolkit/internal/focus-manager/focus-manager-impl.cpp @@ -18,6 +18,14 @@ // CLASS HEADER #include "focus-manager-impl.h" +// EXTERNAL INCLUDES +#include +#include +#include +#include +#include +#include + // INTERNAL INCLUDES #include #include @@ -94,7 +102,7 @@ bool IsActorFocusableFunction(Actor actor, Dali::HitTestAlgorithm::TraverseType FocusManager::FocusManager() : mIsWrapped(false), mIsFocusWithinGroup(false), - mIsEndcapFeedbackEnabled(true), + mIsEndcapFeedbackEnabled(false), mIsEndcapFeedbackPlayed(false), mCurrentFocusActor(FocusIDPair(0, 0)), mFocusIndicatorActor(Actor()), @@ -451,7 +459,7 @@ void FocusManager::DoActivate(Actor actor) if(control) { // Notify the control that it is activated - control.GetImplementation().OnActivated(); + control.GetImplementation().Activate(); } // Send notification for the activation of focused actor @@ -495,7 +503,7 @@ void FocusManager::SetFocusGroup(Actor actor, bool isFocusGroup) Property::Index propertyIsFocusGroup = actor.GetPropertyIndex(IS_FOCUS_GROUP); if(propertyIsFocusGroup == Property::INVALID_INDEX) { - propertyIsFocusGroup = actor.RegisterProperty(IS_FOCUS_GROUP, isFocusGroup); + actor.RegisterProperty(IS_FOCUS_GROUP, isFocusGroup); } else { @@ -638,7 +646,7 @@ void FocusManager::SetFocusable(Actor actor, bool focusable) Property::Index propertyActorFocusable = actor.GetPropertyIndex(ACTOR_FOCUSABLE); if(propertyActorFocusable == Property::INVALID_INDEX) { - propertyActorFocusable = actor.RegisterProperty(ACTOR_FOCUSABLE, focusable); + actor.RegisterProperty(ACTOR_FOCUSABLE, focusable); } else {