X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fnavigation-frame%2Fpage.h;h=e0cf61695efdeb3c6a292015aba0d504a1515ce0;hp=8093c7c5693074a26cbe9cd887f108a6597cb268;hb=11bb36d14feb3c0201ff125af8a5eb8d514b3752;hpb=cb8cfb9b39088134660023a9a1481bcac73287d9;ds=sidebyside diff --git a/dali-toolkit/public-api/controls/navigation-frame/page.h b/dali-toolkit/public-api/controls/navigation-frame/page.h index 8093c7c..e0cf616 100644 --- a/dali-toolkit/public-api/controls/navigation-frame/page.h +++ b/dali-toolkit/public-api/controls/navigation-frame/page.h @@ -49,11 +49,25 @@ class DALI_IMPORT_API Page : public Control public: /** - * The names of custom properties installed by this control. + * @brief The start and end property ranges for this control. */ - // Property Names - static const char* const PROPERTY_TITLE; ///< name "title", type std::string - static const char* const PROPERTY_SUB_TITLE; ///< name "sub-title", type std::string + enum PropertyRange + { + PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, + PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserve property indices + }; + + /** + * @brief An enumeration of properties belonging to the Page class. + */ + struct Property + { + enum + { + TITLE = PROPERTY_START_INDEX, ///< name "title", @see SetTitle(), type string + SUB_TITLE, ///< name "sub-title", @see SetSubTitle(), type string + }; + }; /** * Structure to indicate a control on the navigation tool bar and its group (HorizontalLeft, HorizontalRight or HorizontalCenter)