X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fpage-turn-view%2Fpage-turn-view.h;h=42c8b48e686f14b47192c00c170394c481378b54;hp=9898791b15a72f6f4b5dd0f8c8fd55f0cb472640;hb=502a6996c58f8b8de2dd530235852d53d01d2ac0;hpb=959d2c624f92023a5167788ccf6f4b4af3f3d6d8 diff --git a/dali-toolkit/public-api/controls/page-turn-view/page-turn-view.h b/dali-toolkit/public-api/controls/page-turn-view/page-turn-view.h index 9898791..42c8b48 100644 --- a/dali-toolkit/public-api/controls/page-turn-view/page-turn-view.h +++ b/dali-toolkit/public-api/controls/page-turn-view/page-turn-view.h @@ -54,14 +54,14 @@ class PageTurnView; * page turning. * * Signals - * | %Signal Name | Method | - * |--------------------|-------------------------------| - * | page-turn-started | @ref PageTurnStartedSignal() | - * | page-turn-finished | @ref PageTurnFinishedSignal() | - * | page-pan-started | @ref PagePanStartedSignal() | - * | page-pan-finished | @ref PagePanFinishedSignal() | + * | %Signal Name | Method | + * |------------------|-------------------------------| + * | pageTurnStarted | @ref PageTurnStartedSignal() | + * | pageTurnFinished | @ref PageTurnFinishedSignal() | + * | pagePanStarted | @ref PagePanStartedSignal() | + * | pagePanFinished | @ref PagePanFinishedSignal() | * - * @since DALi 1.1.4 + * @SINCE_1_1.4 */ class DALI_IMPORT_API PageTurnView : public Control { @@ -69,42 +69,46 @@ public: /** * @brief The start and end property ranges for this control. + * @SINCE_1_1.4 */ enum PropertyRange { - PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, - PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserve property indices + PROPERTY_START_INDEX = Control::CONTROL_PROPERTY_END_INDEX + 1, ///< @SINCE_1_1.4 + PROPERTY_END_INDEX = PROPERTY_START_INDEX + 1000 ///< Reserve property indices @SINCE_1_1.4 }; struct Property { enum { - PAGE_SIZE = PROPERTY_START_INDEX, ///< name "page-size", type Vector2 - CURRENT_PAGE_ID, ///< name "current-page-id", type Integer + PAGE_SIZE = PROPERTY_START_INDEX, ///< name "pageSize", type Vector2 @SINCE_1_1.4 + CURRENT_PAGE_ID, ///< name "currentPageId", type Integer @SINCE_1_1.4 /** * The two values are the major&minor radius (in pixels) to form an ellipse shape. * The top-left quarter of this ellipse is used to calculate spine normal for simulating shadow. */ - SPINE_SHADOW, ///< name "spine-shadow", type Vector2 + SPINE_SHADOW, ///< name "spineShadow", type Vector2 @SINCE_1_1.4 }; }; /** - * Creates an empty PageTurnView handle. Only derived versions can be instantiated. + * @brief Creates an empty PageTurnView handle. Only derived versions can be instantiated. * Calling member function with an uninitialized handle is not allowed. + * @SINCE_1_1.4 */ PageTurnView(); /** - * Copy constructor. Creates another handle that points to the same real object + * @brief Copy constructor. Creates another handle that points to the same real object + * @SINCE_1_1.4 * @param[in] handle Handle to copy from */ PageTurnView( const PageTurnView& handle ); /** - * Assignment operator. Changes this handle to point to another real object + * @brief Assignment operator. Changes this handle to point to another real object + * @SINCE_1_1.4 */ PageTurnView& operator=( const PageTurnView& handle ); @@ -112,13 +116,15 @@ public: * @brief Destructor * * This is non-virtual since derived Handle types must not contain data or virtual methods. + * @SINCE_1_1.4 */ ~PageTurnView(); /** - * Downcast an Object handle to PageTurnView. + * @brief Downcast an Object handle to PageTurnView. * If handle points to an PageTurnView the downcast produces valid handle. * If not the returned handle is left uninitialized. + * @SINCE_1_1.4 * @param[in] handle Handle to an object * @return handle to a PageTurnView or an uninitialized handle */ @@ -131,41 +137,45 @@ public: //Signal typedef Signal< void ( PageTurnView ) > PagePanSignal; /** - * Signal emitted when a page has started to turn over. + * @brief Signal emitted when a page has started to turn over. * A callback of the following type may be connected: * @code * void YourCallBackName( PageTurnView pageTurnView, unsigned int pageIndex, bool isTurningForward ); * @endcode + * @SINCE_1_1.4 * @return The signal to connect to */ PageTurnSignal& PageTurnStartedSignal(); /** - * Signal emitted when a page has finished turning over. + * @brief Signal emitted when a page has finished turning over. * A callback of the following type may be connected: * @code * void YourCallBackName( PageTurnView pageTurnView, unsigned int pageIndex, bool isTurningForward ); * @endcode + * @SINCE_1_1.4 * @return The signal to connect to */ PageTurnSignal& PageTurnFinishedSignal(); /** - * Signal emitted when a page pan has commenced + * @brief Signal emitted when a page pan has commenced * A callback of the following type may be connected: * @code * void YourCallBackName( PageTurnView pageTurnView ); * @endcode + * @SINCE_1_1.4 * @return The signal to connect to */ PagePanSignal& PagePanStartedSignal(); /** - * Signal emitted when a page pan has finished + * @brief Signal emitted when a page pan has finished * A callback of the following type may be connected: * @code * void YourCallBackName( PageTurnView pageTurnView ); * @endcode + * @SINCE_1_1.4 * @return The signal to connect to */ PagePanSignal& PagePanFinishedSignal(); @@ -173,13 +183,15 @@ public: //Signal public: // Not intended for application developers /** - * Creates a handle using the Toolkit::Internal implementation. + * @brief Creates a handle using the Toolkit::Internal implementation. + * @SINCE_1_1.4 * @param[in] implementation The Control implementation. */ DALI_INTERNAL PageTurnView(Internal::PageTurnView& implementation); /** - * Allows the creation of this Control from an Internal::CustomActor pointer. + * @brief Allows the creation of this Control from an Internal::CustomActor pointer. + * @SINCE_1_1.4 * @param[in] internal A pointer to the internal CustomActor. */ explicit DALI_INTERNAL PageTurnView(Dali::Internal::CustomActor* internal);