X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fbuttons%2Fcheck-box-button.cpp;h=e2f7f567b1e89cd36832875126c6d93f0ff5706b;hp=e6b2a5ec5904061975f85590d373ffc2f69fb1f4;hb=6c8eb158ad2fb68a20bdcfabf8e07dd017da0528;hpb=306d2f61a1b64179e801fa8a0bb2bd7b4e9dd682 diff --git a/dali-toolkit/public-api/controls/buttons/check-box-button.cpp b/dali-toolkit/public-api/controls/buttons/check-box-button.cpp index e6b2a5e..e2f7f56 100644 --- a/dali-toolkit/public-api/controls/buttons/check-box-button.cpp +++ b/dali-toolkit/public-api/controls/buttons/check-box-button.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * 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. @@ -29,8 +29,6 @@ namespace Dali namespace Toolkit { -const char* const CheckBoxButton::ACTION_CHECK_BOX_BUTTON_CLICK = "check-box-button-click"; - CheckBoxButton::CheckBoxButton() : Button() { @@ -64,77 +62,6 @@ CheckBoxButton CheckBoxButton::DownCast( BaseHandle handle ) return Control::DownCast(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::SetDisabledBackgroundImage( Image image ) -{ - Dali::Toolkit::GetImplementation( *this ).SetDisabledBackgroundImage( image ); -} - -void CheckBoxButton::SetDisabledBackgroundImage( Actor image ) -{ - Dali::Toolkit::GetImplementation( *this ).SetDisabledBackgroundImage( image ); -} - -Actor CheckBoxButton::GetDisabledBackgroundImage() const -{ - return Dali::Toolkit::GetImplementation( *this ).GetDisabledBackgroundImage(); -} - -void CheckBoxButton::SetDisabledCheckedImage( Image image ) -{ - Dali::Toolkit::GetImplementation( *this ).SetDisabledCheckedImage( image ); -} - -void CheckBoxButton::SetDisabledCheckedImage( Actor image ) -{ - Dali::Toolkit::GetImplementation( *this ).SetDisabledCheckedImage( image ); -} - -Actor CheckBoxButton::GetDisabledCheckedImage() const -{ - return Dali::Toolkit::GetImplementation( *this ).GetDisabledCheckedImage(); -} - CheckBoxButton::CheckBoxButton( Internal::CheckBoxButton& implementation ) : Button( implementation ) {