-#ifndef __DALI_TOOLKIT_CHECK_BOX_BUTTON_H__
-#define __DALI_TOOLKIT_CHECK_BOX_BUTTON_H__
+#ifndef DALI_TOOLKIT_CHECK_BOX_BUTTON_H
+#define DALI_TOOLKIT_CHECK_BOX_BUTTON_H
/*
- * 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.
* void HelloWorldExample::Create( Application& application )
* {
* CheckBoxButton button = CheckBoxButton::New();
- * button.SetParentOrigin( ParentOrigin::CENTER );
+ * button.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
* button.SetProperty( Button::Property::LABEL, "Check" );
- * button.SetSize( 200, 40 );
+ * button.SetProperty( Actor::Property::SIZE, Vector2( 200, 40 );
* button.SetBackgroundColor( Color::WHITE );
* Stage::GetCurrent().Add( button );
*
* @endcode
* @SINCE_1_0.0
*/
-class DALI_IMPORT_API CheckBoxButton : public Button
+class DALI_TOOLKIT_API CheckBoxButton : public Button
{
public:
} // namespace Dali
-#endif // __DALI_TOOLKIT_CHECK_BOX_BUTTON_H__
+#endif // DALI_TOOLKIT_CHECK_BOX_BUTTON_H