From 31e72d2f2d953352b2a8c83368039ecca8139d49 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 16 May 2013 23:53:09 +0200 Subject: NEWT: MouseEvent Ctor: Use proper float[] rotationXYZ and float rotationScale arguments. --- .../jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/com') diff --git a/src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java b/src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java index 05a24272c..3a2c4cc81 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java @@ -134,7 +134,8 @@ public abstract class BaseNewtEventModifiers extends UITestCase { if( _modifierCheckEnabled ) { final MouseEvent expEvent = new MouseEvent(hasEvent.getEventType(), hasEvent.getSource(), hasEvent.getWhen(), _expectedModifiers, - hasEvent.getX(), hasEvent.getY(), hasEvent.getClickCount(), hasEvent.getButton(), hasEvent.getWheelRotation()); + hasEvent.getX(), hasEvent.getY(), hasEvent.getClickCount(), hasEvent.getButton(), + hasEvent.getRotation(), hasEvent.getRotationScale()); _checkModifierMask( expEvent, hasEvent, com.jogamp.newt.event.InputEvent.SHIFT_MASK, "shift" ) ; _checkModifierMask( expEvent, hasEvent, com.jogamp.newt.event.InputEvent.CTRL_MASK, "ctrl" ) ; -- cgit v1.2.3