Merge "Prepare for Tizen 4.0 Build" into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / buttons / check-box-button.cpp
index 591a1e4..e2f7f56 100644 (file)
@@ -1,18 +1,19 @@
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Flora License, Version 1.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://floralicense.org/license/
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an AS IS BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
+/*
+ * Copyright (c) 2015 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
 
 // CLASS HEADER
 
@@ -28,12 +29,6 @@ namespace Dali
 namespace Toolkit
 {
 
-const char* const CheckBoxButton::ACTION_CHECK_BOX_BUTTON_CLICK = "check-box-button-click";
-
-const std::string CheckBoxButton::USE_FADE_ANIMATION_PROPERTY_NAME( "use-fade-animation" );
-const std::string CheckBoxButton::USE_CHECK_ANIMATION_PROPERTY_NAME( "use-check-animation" );
-
-
 CheckBoxButton::CheckBoxButton()
 : Button()
 {
@@ -67,77 +62,6 @@ CheckBoxButton CheckBoxButton::DownCast( BaseHandle handle )
   return Control::DownCast<CheckBoxButton, Internal::CheckBoxButton>(handle);
 }
 
-void CheckBoxButton::SetChecked( bool checked )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetChecked( checked );
-}
-
-bool CheckBoxButton::IsChecked() const
-{
-  return Dali::Toolkit::GetImplementation( *this ).IsChecked();
-}
-
-void CheckBoxButton::SetBackgroundImage( Image image )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetBackgroundImage( image );
-}
-
-void CheckBoxButton::SetBackgroundImage( Actor image )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetBackgroundImage( image );
-}
-
-Actor CheckBoxButton::GetBackgroundImage() const
-{
-  return Dali::Toolkit::GetImplementation( *this ).GetBackgroundImage();
-}
-
-void CheckBoxButton::SetCheckedImage( Image image )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetCheckedImage( image );
-}
-
-void CheckBoxButton::SetCheckedImage( Actor image )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetCheckedImage( image );
-}
-
-
-Actor CheckBoxButton::GetCheckedImage() const
-{
-  return Dali::Toolkit::GetImplementation( *this ).GetCheckedImage();
-}
-
-void CheckBoxButton::SetDimmedBackgroundImage( Image image )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetDimmedBackgroundImage( image );
-}
-
-void CheckBoxButton::SetDimmedBackgroundImage( Actor image )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetDimmedBackgroundImage( image );
-}
-
-Actor CheckBoxButton::GetDimmedBackgroundImage() const
-{
-  return Dali::Toolkit::GetImplementation( *this ).GetDimmedBackgroundImage();
-}
-
-void CheckBoxButton::SetDimmedCheckedImage( Image image )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetDimmedCheckedImage( image );
-}
-
-void CheckBoxButton::SetDimmedCheckedImage( Actor image )
-{
-  Dali::Toolkit::GetImplementation( *this ).SetDimmedCheckedImage( image );
-}
-
-Actor CheckBoxButton::GetDimmedCheckedImage() const
-{
-  return Dali::Toolkit::GetImplementation( *this ).GetDimmedCheckedImage();
-}
-
 CheckBoxButton::CheckBoxButton( Internal::CheckBoxButton& implementation )
 : Button( implementation )
 {