/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 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.
namespace Dali
{
-CustomActorImpl::~CustomActorImpl()
-{
-}
-
CustomActor CustomActorImpl::Self() const
{
return CustomActor(mOwner);
}
-void CustomActorImpl::OnPropertySet( Property::Index index, Property::Value propertyValue )
+void CustomActorImpl::OnPropertySet( Property::Index index, const Property::Value& propertyValue )
{
}
{
}
+CustomActorImpl::~CustomActorImpl()
+{
+}
+
void CustomActorImpl::Initialize(Internal::CustomActor& owner)
{
DALI_ASSERT_DEBUG(mOwner == NULL); // should not already be owned
return mOwner;
}
-bool CustomActorImpl::RequiresTouchEvents() const
-{
- return ( mFlags & REQUIRES_TOUCH_EVENTS );
-}
-
-bool CustomActorImpl::RequiresHoverEvents() const
-{
- return ( mFlags & REQUIRES_HOVER_EVENTS );
-}
-
-bool CustomActorImpl::RequiresMouseWheelEvents() const
-{
- return ( mFlags & REQUIRES_MOUSE_WHEEL_EVENTS );
-}
-
bool CustomActorImpl::IsRelayoutEnabled() const
{
return ( mFlags & DISABLE_SIZE_NEGOTIATION ) == 0;