dali-core property type comment to represent type instead of property enum
[platform/core/uifw/dali-core.git] / dali / public-api / actors / layer.h
index 71437a6..0ade1ec 100644 (file)
@@ -65,9 +65,18 @@ class DALI_IMPORT_API Layer : public Actor
 {
 public:
 
-  // Default Properties additional to Actor
-  static const Property::Index CLIPPING_ENABLE; ///< name "clipping-enable",  type BOOLEAN
-  static const Property::Index CLIPPING_BOX;    ///< name "clipping-box",     type RECTANGLE
+  /**
+   * @brief An enumeration of properties belonging to the Layer class.
+   * Properties additional to Actor.
+   */
+  struct Property
+  {
+    enum
+    {
+      CLIPPING_ENABLE = DEFAULT_DERIVED_ACTOR_PROPERTY_START_INDEX, ///< name "clipping-enable",  type bool
+      CLIPPING_BOX,                                                 ///< name "clipping-box",     type Rect<int>
+    };
+  };
 
   /**
    * @brief The sort function type.