Beispiel #1
0
  public static void arrowUp(Window window) {
    if (arrowUp == 0) arrowUp = loadResource("arrowUp.jpg");

    Log.log("cursors", () -> "setting to arrow");
    if (currentCursor != arrowUp)
      Glfw.glfwSetCursor(window.getGLFWWindowReference(), currentCursor = arrowUp);
  }
Beispiel #2
0
 public static void clear(Window window) {
   if (currentCursor != 0) Glfw.glfwSetCursor(window.getGLFWWindowReference(), currentCursor = 0);
 }