示例#1
0
文件: Cursors.java 项目: EQ4/Field2
  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);
  }
示例#2
0
文件: Cursors.java 项目: EQ4/Field2
 public static void clear(Window window) {
   if (currentCursor != 0) Glfw.glfwSetCursor(window.getGLFWWindowReference(), currentCursor = 0);
 }