X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=optional%2Fdali-toolkit%2Finternal%2Fcontrols%2Fcluster%2Fcluster-impl.cpp;h=fa9ee423a05bf8478eaca39fd0a402aa84e1fa70;hb=7957e6e4dd4c6f97a7296d3125c7410a4b6bc5d7;hp=a25847b21b61d26e4b13ddde6facbba98321c1fc;hpb=a881757839b7abb008873a68c67e17b3ba39669b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/optional/dali-toolkit/internal/controls/cluster/cluster-impl.cpp b/optional/dali-toolkit/internal/controls/cluster/cluster-impl.cpp index a25847b..fa9ee42 100644 --- a/optional/dali-toolkit/internal/controls/cluster/cluster-impl.cpp +++ b/optional/dali-toolkit/internal/controls/cluster/cluster-impl.cpp @@ -20,12 +20,13 @@ // EXTERNAL INCLUDES #include +#include +#include #include // INTERNAL INCLUDES #include -using namespace std; using namespace Dali; namespace // unnamed namespace @@ -81,7 +82,7 @@ Dali::Toolkit::Cluster Cluster::New(Toolkit::ClusterStyle& style) } Cluster::Cluster(Toolkit::ClusterStyle& style) -: ControlImpl(true/*requires touch*/), +: Control( ControlBehaviour( REQUIRES_TOUCH_EVENTS | REQUIRES_STYLE_CHANGE_SIGNALS ) ), mClusterStyle(style), mExpandedCount(0) { @@ -139,7 +140,7 @@ void Cluster::AddChildInfoAt( ChildInfo childInfo, unsigned int index ) Property::Index depthProperty = child.GetPropertyIndex(Toolkit::Cluster::CLUSTER_ACTOR_DEPTH); if(depthProperty == Property::INVALID_INDEX) { - depthProperty = child.RegisterProperty(Toolkit::Cluster::CLUSTER_ACTOR_DEPTH, depth); + child.RegisterProperty(Toolkit::Cluster::CLUSTER_ACTOR_DEPTH, depth); } // not added prior @@ -528,7 +529,7 @@ void Cluster::OnControlChildRemove(Actor& child) child.RemoveConstraints(); } -bool Cluster::DoAction(BaseObject* object, const std::string& actionName, const std::vector& attributes) +bool Cluster::DoAction(BaseObject* object, const std::string& actionName, const PropertyValueContainer& attributes) { bool ret = false;