Added Property for the rendering back-end
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / text-controls / text-label.h
index 1c83e62..8391682 100644 (file)
@@ -43,12 +43,14 @@ class DALI_IMPORT_API TextLabel : public Control
 public:
 
   // Property indices
-  static const Property::Index PROPERTY_TEXT;       ///< name "text", type STRING
-  static const Property::Index PROPERTY_MULTI_LINE; ///< name "multi-line", type BOOLEAN
+  static const Property::Index PROPERTY_RENDERING_BACKEND; ///< name "rendering-backend", type UNSIGNED INT
+  static const Property::Index PROPERTY_TEXT;              ///< name "text", type STRING
+  static const Property::Index PROPERTY_MULTI_LINE;        ///< name "multi-line", type BOOLEAN
 
   // Property names
-  static const std::string TEXT_PROPERTY_NAME;       ///< Property, name "text", type STRING
-  static const std::string MULTI_LINE_PROPERTY_NAME; ///< Property, name "multi-line", type BOOLEAN
+  static const std::string RENDERING_BACKEND_PROPERTY_NAME; ///< Property, name "rendering-backend", type UNSIGNED INT
+  static const std::string TEXT_PROPERTY_NAME;              ///< Property, name "text", type STRING
+  static const std::string MULTI_LINE_PROPERTY_NAME;        ///< Property, name "multi-line", type BOOLEAN
 
   /**
    * Create the TextLabel control.
@@ -94,13 +96,6 @@ public:
    */
   static TextLabel DownCast( BaseHandle handle );
 
-  /**
-   * @brief Set the rendering back-end used by the TextLabel.
-   *
-   * @param[in] renderer The text renderer to use.
-   */
-  void SetRenderer( Text::RendererPtr renderer );
-
 public: // Not intended for application developers
 
   /**