Further Setter/Getter public API removal from Dali::Actor
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / buttons / check-box-button.h
index 301a810..675ae70 100644 (file)
@@ -1,8 +1,8 @@
-#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.
@@ -59,9 +59,9 @@ class CheckBoxButton;
  * 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 );
  *
@@ -78,7 +78,7 @@ class CheckBoxButton;
  * @endcode
  * @SINCE_1_0.0
  */
-class DALI_IMPORT_API CheckBoxButton : public Button
+class DALI_TOOLKIT_API CheckBoxButton : public Button
 {
 public:
 
@@ -156,4 +156,4 @@ public: // Not intended for application developers
 
 } // namespace Dali
 
-#endif // __DALI_TOOLKIT_CHECK_BOX_BUTTON_H__
+#endif // DALI_TOOLKIT_CHECK_BOX_BUTTON_H