namespace Dali
{
-
namespace Internal DALI_INTERNAL
{
class PanGesture;
/**
* @brief A PanGesture is emitted when the user moves one or more fingers in a particular direction.
*
- * This gesture can be in one of three states, when the pan gesture is first detected: Gesture::Started
- * when the pan gesture is continuing: Gesture::Continuing and finally, when the pan gesture ends:
- * Gesture::Finished.
+ * This gesture can be in one of three states, when the pan gesture is first detected: GestureState::STARTED
+ * when the pan gesture is continuing: GestureState::CONTINUING and finally, when the pan gesture ends:
+ * GestureState::FINISHED.
*
* A pan gesture will end in the following ways:
* - User releases the primary finger (the first touch).
* A pan gesture will continue to be sent to the actor under than initial pan until it ends.
* @SINCE_1_9.28
*/
-class DALI_CORE_API PanGesture: public Gesture
+class DALI_CORE_API PanGesture : public Gesture
{
public:
-
/**
* @brief Creates an uninitialized PanGesture handle.
*
* @SINCE_1_9.28
* @param[in] rhs A reference to the copied handle
*/
- PanGesture( const PanGesture& rhs );
+ PanGesture(const PanGesture& rhs);
/**
* @brief Move constructor.
* @SINCE_1_9.28
* @param[in] rhs A reference to the moved handle
*/
- PanGesture( PanGesture&& rhs );
+ PanGesture(PanGesture&& rhs) noexcept;
/**
* @brief Assignment operator.
* @param[in] rhs A reference to the copied handle
* @return A reference to this
*/
- PanGesture& operator=( const PanGesture& rhs );
+ PanGesture& operator=(const PanGesture& rhs);
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this
*/
- PanGesture& operator=( PanGesture&& rhs );
+ PanGesture& operator=(PanGesture&& rhs) noexcept;
/**
* @brief Non virtual destructor.
float GetScreenDistance() const;
public: // Not intended for application developers
-
/// @cond internal
/**
* @brief This constructor is used internally to Create an initialized PanGesture handle.
* @param[in] panGesture A pointer to a newly allocated Dali resource
* @SINCE_1_9.28
*/
- explicit DALI_INTERNAL PanGesture( Internal::PanGesture* panGesture );
+ explicit DALI_INTERNAL PanGesture(Internal::PanGesture* panGesture);
/// @endcond
-
};
/**