{
public:
/**
+ * @brief Enumeration for type of drawable.
+ */
+ enum class Types
+ {
+ NONE = 0, ///< Means that type is not defined.
+ SHAPE, ///< Meaning of Shape class that inherits Drawable.
+ DRAWABLE_GROUP ///< Meaning of DrawableGorup class that inherits Drawable.
+ };
+
+public:
+ /**
* @brief Constructor
*/
Drawable();
virtual bool GetChanged() const;
/**
+ * @brief Set drawable's type.
+ * @param[in] type Type of drawable.
+ */
+ virtual void SetType(Types type);
+
+ /**
+ * @brief Get drawable's type.
+ * @return Returns type of drawable.
+ */
+ virtual Types GetType() const;
+
+ /**
* @brief Returns a drawable's implements object pointer.
* @return Returns a drawable's implements object pointer.
*/
Drawable& operator=(Drawable&&) = delete;
private:
- Dali::Internal::Adaptor::Drawable* pImpl = nullptr;
+ Dali::Internal::Adaptor::Drawable* mImpl = nullptr;
};
} // namespace Adaptor