diff options
author | Dmitri Trembovetski <[email protected]> | 2009-05-26 22:59:32 +0000 |
---|---|---|
committer | Dmitri Trembovetski <[email protected]> | 2009-05-26 22:59:32 +0000 |
commit | 92bf955f17d1c070322ccf94d2de76d74f3eaa40 (patch) | |
tree | 881ef04067e128fefa271134ddb096ccc5922a16 /src/demos/es2 | |
parent | a2891274a4160062cea7a649a321f798216a1587 (diff) |
Newt: updated newt demos to implement new methods in Mouse and WindowListeners
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@335 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/es2')
-rwxr-xr-x | src/demos/es2/RedSquare.java | 2 | ||||
-rwxr-xr-x | src/demos/es2/openmax/MovieCube.java | 2 | ||||
-rwxr-xr-x | src/demos/es2/openmax/MovieSimple.java | 2 | ||||
-rwxr-xr-x | src/demos/es2/perftst/Perftst.java | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java index 569b4f4..ba4c307 100755 --- a/src/demos/es2/RedSquare.java +++ b/src/demos/es2/RedSquare.java @@ -41,6 +41,8 @@ public class RedSquare implements MouseListener, GLEventListener { } public void mouseDragged(MouseEvent e) { } + public void mouseWheelMoved(MouseEvent e) { + } private void run(int type) { int width = 800; diff --git a/src/demos/es2/openmax/MovieCube.java b/src/demos/es2/openmax/MovieCube.java index 5d8c763..270cf2a 100755 --- a/src/demos/es2/openmax/MovieCube.java +++ b/src/demos/es2/openmax/MovieCube.java @@ -76,6 +76,8 @@ public class MovieCube implements MouseListener, GLEventListener, OMXEventListen } public void mouseDragged(MouseEvent e) { } + public void mouseWheelMoved(MouseEvent e) { + } public MovieCube (String stream) { cube = new Cube(true, false); diff --git a/src/demos/es2/openmax/MovieSimple.java b/src/demos/es2/openmax/MovieSimple.java index da256ad..ecbb0b2 100755 --- a/src/demos/es2/openmax/MovieSimple.java +++ b/src/demos/es2/openmax/MovieSimple.java @@ -84,6 +84,8 @@ public class MovieSimple implements MouseListener, GLEventListener, OMXEventList rotate = true; zoom = -5; } + public void mouseWheelMoved(MouseEvent e) { + } public MovieSimple(String stream) { this.stream = stream ; diff --git a/src/demos/es2/perftst/Perftst.java b/src/demos/es2/perftst/Perftst.java index 90b236c..ba47029 100755 --- a/src/demos/es2/perftst/Perftst.java +++ b/src/demos/es2/perftst/Perftst.java @@ -34,6 +34,8 @@ public class Perftst implements MouseListener, GLEventListener { } public void mouseDragged(MouseEvent e) { } + public void mouseWheelMoved(MouseEvent e) { + } private void run(int type, PerfModule pm) { int width = 800; |