{
Impl::TestCustomActor* impl = new Impl::TestCustomActor( true );
TestCustomActor custom( *impl ); // takes ownership
- custom.SetName( "SizeNegotiationActor" );
+ custom.SetProperty( Dali::Actor::Property::NAME, "SizeNegotiationActor" );
impl->Initialize();
return GetImpl().TestRelayoutDependentOnChildrenBase( dimension );
}
-unsigned int TestCustomActor::GetDepth()
+uint32_t TestCustomActor::GetDepth()
{
return GetImpl().mDepth;
}
mSizeSet( Vector3::ZERO ),
mTargetSize( Vector3::ZERO ),
mNego( false ),
- mDepth(0u)
+ mDepth(0u),
+ develProp6( 10.0f )
{
}
mDaliProperty( Property::INVALID_INDEX ),
mSizeSet( Vector3::ZERO ),
mTargetSize( Vector3::ZERO ),
- mNego( nego )
+ mNego( nego ),
+ develProp6( 10.0f )
{
}
/**
mMethodsCalled.push_back( method );
// Combine Actor name with method string
- std::string nameAndMethod( Self().GetName() );
+ std::string nameAndMethod( Self().GetProperty< std::string >( Dali::Actor::Property::NAME ) );
if ( 0 == nameAndMethod.size() )
{
nameAndMethod = "Unknown: ";
{
return Property::Value(actorImpl.develProp5);
}
+ case Test::DevelTestCustomActor::Property::DEVEL_TEST_PROPERTY6:
+ {
+ return Property::Value(actorImpl.develProp6);
+ }
}
}
return Property::Value();
DALI_DEVEL_PROPERTY_REGISTRATION( Test, TestCustomActor, "develTestProperty3", VECTOR4, DEVEL_TEST_PROPERTY3)
DALI_DEVEL_PROPERTY_REGISTRATION( Test, TestCustomActor, "develTestProperty4", INTEGER, DEVEL_TEST_PROPERTY4)
DALI_DEVEL_PROPERTY_REGISTRATION( Test, TestCustomActor, "develTestProperty5", FLOAT, DEVEL_TEST_PROPERTY5)
+DALI_DEVEL_PROPERTY_REGISTRATION_READ_ONLY( Test, TestCustomActor, "develTestProperty6", FLOAT, DEVEL_TEST_PROPERTY6)
DALI_TYPE_REGISTRATION_END()