*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* @param[in] delta The offset of rolling (positive value means roll down or clockwise, and negative value means roll up or counter-clockwise)
* @param[in] timeStamp The time the wheel is being rolled
*/
* @param[in] delta The offset of rolling (positive value means roll down or clockwise, and negative value means roll up or counter-clockwise)
* @param[in] timeStamp The time the wheel is being rolled
*/
- WheelEvent( Dali::WheelEvent::Type type, int32_t direction, uint32_t modifiers, Vector2 point, int32_t delta, uint32_t timeStamp );
-
- /**
- * @brief Destructor
- */
- ~WheelEvent();
+ WheelEvent(Dali::WheelEvent::Type type, int32_t direction, uint32_t modifiers, Vector2 point, int32_t delta, uint32_t timeStamp);
* @param[in] timeStamp The time the wheel is being rolled
* @return A smart-pointer to the newly allocated WheelEvent.
*/
* @param[in] timeStamp The time the wheel is being rolled
* @return A smart-pointer to the newly allocated WheelEvent.
*/
- static WheelEventPtr New( Dali::WheelEvent::Type type, int32_t direction, uint32_t modifiers, Vector2 point, int32_t delta, uint32_t timeStamp );
+ static WheelEventPtr New(Dali::WheelEvent::Type type, int32_t direction, uint32_t modifiers, Vector2 point, int32_t delta, uint32_t timeStamp);
- WheelEvent( const WheelEvent& rhs ) = delete; ///< Deleted copy constructor
- WheelEvent( WheelEvent&& rhs ) = delete; ///< Deleted move constructor
- WheelEvent& operator=( const WheelEvent& rhs ) = delete; ///< Deleted copy assignment operator
- WheelEvent& operator=( WheelEvent&& rhs ) = delete; ///< Deleted move assignment operator
+ WheelEvent(const WheelEvent& rhs) = delete; ///< Deleted copy constructor
+ WheelEvent(WheelEvent&& rhs) = delete; ///< Deleted move constructor
+ WheelEvent& operator=(const WheelEvent& rhs) = delete; ///< Deleted copy assignment operator
+ WheelEvent& operator=(WheelEvent&& rhs) = delete; ///< Deleted move assignment operator
-
- Dali::WheelEvent::Type mType; ///< The type of the event
- int32_t mDirection; ///< The direction in which the wheel is being rolled
- uint32_t mModifiers; ///< Modifier keys pressed during the event
- Vector2 mPoint; ///< The co-ordinates of the cursor relative to the top-left of the screen when the wheel is being rolled.
- int32_t mDelta; ///< The offset of the wheel rolling
- uint32_t mTimeStamp; ///< The time when the wheel is being rolled
+ Dali::WheelEvent::Type mType; ///< The type of the event
+ int32_t mDirection; ///< The direction in which the wheel is being rolled
+ uint32_t mModifiers; ///< Modifier keys pressed during the event
+ Vector2 mPoint; ///< The co-ordinates of the cursor relative to the top-left of the screen when the wheel is being rolled.
+ int32_t mDelta; ///< The offset of the wheel rolling
+ uint32_t mTimeStamp; ///< The time when the wheel is being rolled