(Window window)
| 37 | } |
| 38 | |
| 39 | static public void arrowLeft(Window window) { |
| 40 | |
| 41 | if (arrowLeft == 0) arrowLeft = loadResource("arrowLeft.jpg"); |
| 42 | |
| 43 | Log.log("cursors", () -> "setting to arrow"); |
| 44 | if (currentCursor != arrowLeft) glfwSetCursor(window.getGLFWWindowReference(), currentCursor = arrowLeft); |
| 45 | } |
| 46 | |
| 47 | protected static long loadResource(String res) { |
| 48 | URL arrowFile = Cursors.class.getClassLoader() |
no test coverage detected