diff options
Diffstat (limited to 'ui/views/events/event.cc')
-rw-r--r-- | ui/views/events/event.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ui/views/events/event.cc b/ui/views/events/event.cc index 6954db6..fa8ce36 100644 --- a/ui/views/events/event.cc +++ b/ui/views/events/event.cc @@ -171,6 +171,22 @@ TouchEvent* TouchEvent::Copy() const { flags(), touch_id_, radius_x_, radius_y_, rotation_angle_, force_); } +float TouchEvent::RadiusX() const { + return radius_x_; +} + +float TouchEvent::RadiusY() const { + return radius_y_; +} + +float TouchEvent::RotationAngle() const { + return rotation_angle_; +} + +float TouchEvent::Force() const { + return force_; +} + //////////////////////////////////////////////////////////////////////////////// // TouchEvent, private: |