Lines Matching refs:window

48     printf("  -f create full screen window(s)\n");
57 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
69 glfwIconifyWindow(window);
72 glfwMaximizeWindow(window);
75 glfwRestoreWindow(window);
78 glfwSetWindowShouldClose(window, GLFW_TRUE);
81 glfwSetWindowAttrib(window, GLFW_AUTO_ICONIFY, !glfwGetWindowAttrib(window, GLFW_AUTO_ICONIFY));
84 glfwSetWindowAttrib(window, GLFW_RESIZABLE, !glfwGetWindowAttrib(window, GLFW_RESIZABLE));
87 glfwSetWindowAttrib(window, GLFW_DECORATED, !glfwGetWindowAttrib(window, GLFW_DECORATED));
90 glfwSetWindowAttrib(window, GLFW_FLOATING, !glfwGetWindowAttrib(window, GLFW_FLOATING));
98 if (glfwGetWindowMonitor(window))
100 glfwSetWindowMonitor(window, NULL,
111 glfwGetWindowPos(window, &windowed_xpos, &windowed_ypos);
112 glfwGetWindowSize(window, &windowed_width, &windowed_height);
113 glfwSetWindowMonitor(window, monitor,
124 static void window_size_callback(GLFWwindow* window, int width, int height)
129 static void framebuffer_size_callback(GLFWwindow* window, int width, int height)
134 static void window_focus_callback(GLFWwindow* window, int focused)
141 static void window_iconify_callback(GLFWwindow* window, int iconified)
148 static void window_maximize_callback(GLFWwindow* window, int maximized)
155 static void window_refresh_callback(GLFWwindow* window)
159 glfwMakeContextCurrent(window);
162 glfwSwapBuffers(window);
168 GLFWwindow* window;
188 window = glfwCreateWindow(width, height, "Iconify", monitor, NULL);
189 if (!window)
195 glfwMakeContextCurrent(window);
198 return window;