com.threerings.opengl.gui
Class Cursor

java.lang.Object
  extended by com.threerings.opengl.gui.Cursor

public class Cursor
extends Object

Contains a cursor.


Constructor Summary
Cursor(BufferedImage image, int hx, int hy)
          Creates a new cursor.
 
Method Summary
 Cursor getAWTCursor(Toolkit toolkit)
          Retrieves the lazily-initialized AWT cursor using the supplied toolkit.
 org.lwjgl.input.Cursor getLWJGLCursor()
          Retrieve the lazily-initialized LWJGL cursor.
 void show()
          Display the LWJGL cursor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cursor

public Cursor(BufferedImage image,
              int hx,
              int hy)
Creates a new cursor.

Method Detail

getLWJGLCursor

public org.lwjgl.input.Cursor getLWJGLCursor()
Retrieve the lazily-initialized LWJGL cursor.


getAWTCursor

public Cursor getAWTCursor(Toolkit toolkit)
Retrieves the lazily-initialized AWT cursor using the supplied toolkit.


show

public void show()
Display the LWJGL cursor.



Copyright © 2011. All Rights Reserved.