blob: 1c706fac37b95b96ba29f407e5e61da1bcdb3942 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
}
|