Added Property for the rendering back-end
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / text-controls / text-field.h
index 1f9b6f8..941f495 100644 (file)
@@ -41,6 +41,7 @@ class DALI_IMPORT_API TextField : public Control
 public:
 
   // Property indices
+  static const Property::Index PROPERTY_RENDERING_BACKEND;      ///< name "rendering-backend",      type UNSIGNED INT
   static const Property::Index PROPERTY_PLACEHOLDER_TEXT;       ///< name "placeholder-text",       type STRING
   static const Property::Index PROPERTY_TEXT;                   ///< name "text",                   type STRING
   static const Property::Index PROPERTY_CURSOR_IMAGE;           ///< name "cursor-image",           type STRING
@@ -52,6 +53,7 @@ public:
   static const Property::Index PROPERTY_GRAB_HANDLE_IMAGE;      ///< name "grab-handle-image",      type STRING
 
   // Property names
+  static const std::string RENDERING_BACKEND_PROPERTY_NAME;      ///< Property, name "rendering-backend",      type UNSIGNED INT
   static const std::string PLACEHOLDER_TEXT_PROPERTY_NAME;       ///< Property, name "placeholder-text",       type STRING
   static const std::string TEXT_PROPERTY_NAME;                   ///< Property, name "text",                   type STRING
   static const std::string CURSOR_IMAGE_PROPERTY_NAME;           ///< Property, name "cursor-image",           type STRING
@@ -106,13 +108,6 @@ public:
    */
   static TextField DownCast( BaseHandle handle );
 
-  /**
-   * @brief Set the rendering back-end used by the TextField.
-   *
-   * @param[in] renderer The text renderer to use.
-   */
-  void SetRenderer( Text::RendererPtr renderer );
-
 public: // Not intended for application developers
 
   /**