/*
-* Copyright (c) 2017 Samsung Electronics Co., Ltd.
+* Copyright (c) 2019 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.
mCallStartButton.SetSize( BUTTON_CALL_START_SIZE * SCALED_WIDTH );
mCallStartButton.SetPosition( BUTTON_CALL_START_POSITION * SCALED_WIDTH );
mCallStartButton.ClickedSignal().Connect( this, &CallController::OnButtonClicked );
- mCallStartButton.SetProperty( Button::Property::SELECTED_STATE_IMAGE, ICON_CALL_IMAGE );
- mCallStartButton.SetProperty( Button::Property::UNSELECTED_STATE_IMAGE, ICON_CALL_IMAGE );
+ mCallStartButton.SetProperty( Button::Property::SELECTED_BACKGROUND_VISUAL, ICON_CALL_IMAGE );
+ mCallStartButton.SetProperty( Button::Property::UNSELECTED_BACKGROUND_VISUAL, ICON_CALL_IMAGE );
+ mCallStartButton.SetProperty( Control::Property::BACKGROUND, ICON_CALL_IMAGE );
+ mCallStartButton.SetProperty( Button::Property::LABEL, "" );
mStage.Add( mCallStartButton );
mStage.Add( mButtonIconDecall );
mCallEndButton.SetSize( BUTTON_DECALL_SIZE * SCALED_WIDTH );
mCallEndButton.SetPosition( BUTTON_DECALL_POSITION * SCALED_WIDTH );
mCallEndButton.ClickedSignal().Connect( this, &CallController::OnButtonClicked );
- mCallEndButton.SetProperty( Button::Property::SELECTED_STATE_IMAGE, "" );
- mCallEndButton.SetProperty( Button::Property::UNSELECTED_STATE_IMAGE, "" );
+ mCallEndButton.SetProperty( Button::Property::SELECTED_BACKGROUND_VISUAL, "" );
+ mCallEndButton.SetProperty( Button::Property::UNSELECTED_BACKGROUND_VISUAL, "" );
mCallEndButton.SetStyleName( DECLINE_BUTTON_STYLE_STR );
+ mCallEndButton.SetProperty( Button::Property::LABEL, "" );
mButtonClip.Add( mCallEndButton );
mButtonClip.Add( mButtonIcon );
float mButtonDelay;
};
-int main(int argc, char **argv)
+int DALI_EXPORT_API main(int argc, char **argv)
{
Application application = Application::New( &argc, &argv );