X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fevents%2Fpoint.h;h=9b33ed3c78cf92e57d573cf8e46486820ce5ae07;hb=f329cb924a9525c4e268872c993d66fbec822b97;hp=d0c4f0f6c746aa1e8af3e60801f1a6bb007cb455;hpb=8bccadc96b3773fb10c562a5ccdf1b071b2efe8e;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/events/point.h b/dali/integration-api/events/point.h old mode 100644 new mode 100755 index d0c4f0f..9b33ed3 --- a/dali/integration-api/events/point.h +++ b/dali/integration-api/events/point.h @@ -24,6 +24,7 @@ #include #include #include +#include namespace Dali { @@ -178,6 +179,16 @@ struct DALI_CORE_API Point */ Device::Subclass::Type GetDeviceSubclass() const; + /** + * @brief Get Mouse Button value. (ex: right/left button) + * @return The mouse button value. + */ + MouseButton::Type GetMouseButton() const; + + /** + * @brief Set Mouse Button value. (ex: right/left button) + */ + void SetMouseButton(MouseButton::Type button); public: // Not intended for Integration API developers @@ -223,6 +234,7 @@ private: Device::Subclass::Type mDeviceSubclass; float mPressure; ///< The touch pressure. float mRadius; ///< Radius of the press point, an average of the ellipse radius. + MouseButton::Type mMouseButton; /// < mouse button value. }; } // namespace Integration