From 6bf0b42bb8209011ea8304b5889d9299c417a104 Mon Sep 17 00:00:00 2001 From: Albul Date: Tue, 12 Jun 2012 11:05:49 +0400 Subject: [PATCH] Add events: RIGHT_CLICK, RIGHT_MOUSE_DOWN, RIGHT_MOUSE_UP, MIDDLE_CLICK, MIDDLE_MOUSE_DOWN, MIDDLE_MOUSE_UP --- README.txt | 3 +- .../engine3d/core/events/MouseEvent3D.as | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 3faabab..e1989ec 100644 --- a/README.txt +++ b/README.txt @@ -8,5 +8,4 @@ It is desirable to notify that Covered Software was "Powered by AlternativaPlatf Additional information Instruction "Compilation of Alternativa3D from source codes" you can find on our wiki: -http://wiki.alternativaplatform.com/Compilation_of_Alternativa3D_from_source_codes -. \ No newline at end of file +http://wiki.alternativaplatform.com/Compilation_of_Alternativa3D_from_source_codes \ No newline at end of file diff --git a/src/alternativa/engine3d/core/events/MouseEvent3D.as b/src/alternativa/engine3d/core/events/MouseEvent3D.as index af5c57a..ce03818 100644 --- a/src/alternativa/engine3d/core/events/MouseEvent3D.as +++ b/src/alternativa/engine3d/core/events/MouseEvent3D.as @@ -46,6 +46,42 @@ package alternativa.engine3d.core.events { */ public static const MOUSE_UP:String = "mouseUp3D"; + /** + * Defines the value of the type property of a rightClick3D event object. + * @eventType rightClick3D + */ + public static const RIGHT_CLICK:String = "rightClick3D"; + + /** + * Defines the value of the type property of a rightMouseDown3D event object. + * @eventType rightMouseDown3D + */ + public static const RIGHT_MOUSE_DOWN:String = "rightMouseDown3D"; + + /** + * Defines the value of the type property of a rightMouseUp3D event object. + * @eventType rightMouseUp3D + */ + public static const RIGHT_MOUSE_UP:String = "rightMouseUp3D"; + + /** + * Defines the value of the type property of a middleClick3D event object. + * @eventType middleClick3D + */ + public static const MIDDLE_CLICK:String = "middleClick3D"; + + /** + * Defines the value of the type property of a middleMouseDown3D event object. + * @eventType middleMouseDown3D + */ + public static const MIDDLE_MOUSE_DOWN:String = "middleMouseDown3D"; + + /** + * Defines the value of the type property of a middleMouseUp event object. + * @eventType middleMouseUp + */ + public static const MIDDLE_MOUSE_UP:String = "middleMouseUp"; + /** * Defines the value of the type property of a mouseOver3D event object. * @eventType mouseOver3D