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=02b71bcf0e25a8ac88c3ff30f064a5482e95d3d2;hb=11bb36d14feb3c0201ff125af8a5eb8d514b3752;hpb=2ddfbb9e23a7c3fc30e604236c41e0ef6d2ed6a2 diff --git a/dali-toolkit/public-api/controls/navigation-frame/page.h b/dali-toolkit/public-api/controls/navigation-frame/page.h index 02b71bc..e0cf616 100644 --- a/dali-toolkit/public-api/controls/navigation-frame/page.h +++ b/dali-toolkit/public-api/controls/navigation-frame/page.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_PAGE_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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)