#define __DALI_TOOLKIT_CHECK_BOX_BUTTON_H__
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
*
* When the button is disabled, \e background image and \e selected image are replaced by \e disabled images.
*
+ * Usage example: -
+ *
+ * @code
+ * // in Creating a DALi Application
+ * void HelloWorldExample::Create( Application& application )
+ * {
+ * CheckBoxButton button = CheckBoxButton::New();
+ * button.SetParentOrigin( ParentOrigin::CENTER );
+ * button.SetProperty( Button::Property::LABEL, "Check" );
+ * button.SetSize( 200, 40 );
+ * button.SetBackgroundColor( Color::WHITE );
+ * Stage::GetCurrent().Add( button );
+ *
+ * // Connect to a button signal emitted by the button
+ * button.StateChangedSignal().Connect( this, &HelloWorldExample::OnButtonStateChanged );
+ * }
+ *
+ * bool HelloWorldExample::OnButtonStateChanged( Button button )
+ * {
+ * // Do something when the button state is changed
+ * // You can get the state using button.IsSelected() call
+ * return true;
+ * }
+ * @endcode
* @SINCE_1_0.0
*/
class DALI_IMPORT_API CheckBoxButton : public Button
/**
* @brief Copy constructor.
* @SINCE_1_0.0
+ * @param[in] checkBox Handle to an object
*/
CheckBoxButton( const CheckBoxButton& checkBox );
/**
* @brief Assignment operator.
* @SINCE_1_0.0
+ * @param[in] checkBox Handle to an object
+ * @return A reference to this
*/
CheckBoxButton& operator=( const CheckBoxButton& checkBox );