示例#1
0
        public static GLFWcursor createStandardCursor(int shape)
        {
            GLFWcursor cursor = new GLFWcursor();

            cursor.handle = Glfwint.createStandardCursor(shape);
            return(cursor);
        }
示例#2
0
        public static GLFWcursor createCursor(GLFWimage image, int x, int y)
        {
            GLFWcursor cursor = new GLFWcursor();

            cursor.handle = Glfwint.createCursor(image.handle, x, y);
            return(cursor);
        }
示例#3
0
 public static void setCursor(GLFWwindow window, GLFWcursor cursor)
 {
     Glfwint.setCursor(window.handle, cursor.handle);
 }
示例#4
0
 public static void destroyCursor(GLFWcursor cursor)
 {
     Glfwint.destroyCursor(cursor.handle);
 }