#include <dali/dali.h>
#include <dali-toolkit/dali-toolkit.h>
#include <test-button.h>
-#include <dali/devel-api/object/type-registry-helper.h>
using namespace Dali;
using namespace Dali::Toolkit;
}
TestButton::TestButton()
-: Control( ControlBehaviour( REQUIRES_TOUCH_EVENTS|REQUIRES_STYLE_CHANGE_SIGNALS ) )
+: Control( ControlBehaviour() )
{
}
{
if( value.GetType() == Property::MAP )
{
- Property::Map* valueMap = value.GetMap();
+ const Property::Map* valueMap = value.GetMap();
buttonImpl.mPressTransitionData.Clear();
NewAnimation( *valueMap, buttonImpl.mPressTransitionData );
}
else if( value.GetType() == Property::ARRAY )
{
- Property::Array* valueArray = value.GetArray();
+ const Property::Array* valueArray = value.GetArray();
buttonImpl.mPressTransitionData.Clear();
NewAnimation( *valueArray, buttonImpl.mPressTransitionData );
}