From 6873f65775af236ed270fcbd08661f5b53ba3598 Mon Sep 17 00:00:00 2001 From: Kenneth Russel <kbrussel@alum.mit.edu> Date: Mon, 24 Oct 2005 19:21:28 +0000 Subject: Merged JSR-231 branch on to the main JOGL trunk. The main trunk now contains the evolving JSR-231 Reference Implementation and the JSR-231 branch is permanently closed. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@144 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/xtrans/XTTransition.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 src/demos/xtrans/XTTransition.java (limited to 'src/demos/xtrans/XTTransition.java') diff --git a/src/demos/xtrans/XTTransition.java b/src/demos/xtrans/XTTransition.java new file mode 100755 index 0000000..1c706fa --- /dev/null +++ b/src/demos/xtrans/XTTransition.java @@ -0,0 +1,15 @@ +package demos.xtrans; + +import javax.media.opengl.*; + +/** Specifies the interface by which a transition is updated and drawn + by the XTDesktopPane. */ + +public interface XTTransition { + /** Updates this transition's state to the given fraction in its + animation cycle (0.0 - 1.0). */ + public void update(float fraction); + + /** Draws this transition using the passed OpenGL object. */ + public void draw(GL gl); +} -- cgit v1.2.3