X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali%2Fpublic-api%2Fevents%2Ftap-gesture.h;h=6fc68524ae03b100cdf5bd0ff9d528ca50075068;hb=646f736e77b085c86e982c0d1d4b895c2a431330;hp=5b6a231835b17ce1ff1ef180b11f5caaf20aa525;hpb=4bd2fbea750e7dc85627868d8d276cc416b01b5a;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/tap-gesture.h b/dali/public-api/events/tap-gesture.h index 5b6a231..6fc6852 100644 --- a/dali/public-api/events/tap-gesture.h +++ b/dali/public-api/events/tap-gesture.h @@ -2,7 +2,7 @@ #define __DALI_TAP_GESTURE_H__ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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. @@ -33,29 +33,37 @@ namespace Dali * @brief A TapGesture is emitted when the user taps the screen with the stated number of fingers a stated number of times. * * This is a discrete gesture so does not have any state information. + * @SINCE_1_0.0 * @see TapGestureDetector */ -struct DALI_IMPORT_API TapGesture : public Gesture +struct DALI_CORE_API TapGesture : public Gesture { // Construction & Destruction /** - * @brief Default Constructor + * @brief Default Constructor. + * @SINCE_1_0.0 */ TapGesture(); /** - * @brief Copy constructor + * @brief Copy constructor. + * @SINCE_1_0.0 + * @param rhs A reference to the copied handle */ TapGesture( const TapGesture& rhs ); /** - * @brief Assignment operator + * @brief Assignment operator. + * @SINCE_1_0.0 + * @param rhs A reference to the copied handle + * @return A reference to this */ TapGesture& operator=( const TapGesture& rhs ); /** - * @brief Virtual destructor + * @brief Virtual destructor. + * @SINCE_1_0.0 */ virtual ~TapGesture(); @@ -64,13 +72,13 @@ struct DALI_IMPORT_API TapGesture : public Gesture /** * @brief The number of taps in this tap gesture. */ - unsigned int numberOfTaps; + uint32_t numberOfTaps; /** * @brief The number of touch points in this tap gesture, i.e. the number of fingers the user had on the * screen to generate the tap gesture. */ - unsigned int numberOfTouches; + uint32_t numberOfTouches; /** * @brief This is the point, in screen coordinates, where the tap occurred. @@ -83,7 +91,7 @@ struct DALI_IMPORT_API TapGesture : public Gesture * @brief This is the point, in local actor coordinates, where the tap occurred. * * If a multi-touch tap, then this is the centroid of all the touch points. - * @return The point where tap has occurred (in local actor coordinates). + * @return The point where tap has occurred (in local actor coordinates) */ Vector2 localPoint; };