{
{ Visual::Property::TYPE, Visual::COLOR },
{ ColorVisual::Property::MIX_COLOR, Vector4( 0.8f, 0.8f, 0.8f, 1.0f ) },
- { DevelVisual::Property::CORNER_RADIUS, 10.0f }
+ { DevelVisual::Property::CORNER_RADIUS, 0.5f },
+ { DevelVisual::Property::CORNER_RADIUS_POLICY, Toolkit::Visual::Transform::Policy::RELATIVE }
};
const Property::Value TRANSITION_ANIMATOR
window.KeyEventSignal().Connect( this, &ArcVisualExample::OnKeyEvent );
}
- bool OnButtonTouch( Actor actor, const TouchData& touch )
+ bool OnButtonTouch( Actor actor, const TouchEvent& touch )
{
if( touch.GetState( 0 ) == PointState::UP )
{
return true;
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
if( touch.GetState( 0 ) == PointState::UP )
{
void OnKeyEvent( const KeyEvent& event )
{
- if( event.state == KeyEvent::Up )
+ if( event.GetState() == KeyEvent::UP )
{
if( IsKey( event, DALI_KEY_ESCAPE) || IsKey( event, DALI_KEY_BACK ) )
{