com.badlogic.gdx.graphics.Cursor.java Source code

Java tutorial

Introduction

Here is the source code for com.badlogic.gdx.graphics.Cursor.java

Source

package com.badlogic.gdx.graphics;

import com.badlogic.gdx.Graphics;
import com.badlogic.gdx.utils.Disposable;

/** <p>
 * Represents a mouse cursor. Create a cursor via
 * {@link Graphics#newCursor(Pixmap, int, int)}. To
 * set the cursor use {@link Graphics#setCursor(Cursor)}.
 * To use one of the system cursors, call Graphics#setSystemCursor
 * </p> **/
public interface Cursor extends Disposable {

    public static enum SystemCursor {
        Arrow, Ibeam, Crosshair, Hand, HorizontalResize, VerticalResize
    }
}