Lines Matching defs:width
33 static void applySizeLimits(_GLFWwindow* window, int* width, int* height)
38 *height = (int) (*width / ratio);
42 *width = _glfw_max(*width, window->minwidth);
44 *width = _glfw_min(*width, window->maxwidth);
59 window->null.width = mode.width;
95 window->null.width = wndconfig->width;
192 int width, int height,
200 _glfwSetWindowSizeNull(window, width, height);
220 _glfwSetWindowSizeNull(window, width, height);
245 void _glfwGetWindowSizeNull(_GLFWwindow* window, int* width, int* height)
247 if (width)
248 *width = window->null.width;
253 void _glfwSetWindowSizeNull(_GLFWwindow* window, int width, int height)
258 if (window->null.width != width || window->null.height != height)
260 window->null.width = width;
262 _glfwInputFramebufferSize(window, width, height);
264 _glfwInputWindowSize(window, width, height);
272 int width = window->null.width;
274 applySizeLimits(window, &width, &height);
275 _glfwSetWindowSizeNull(window, width, height);
280 int width = window->null.width;
282 applySizeLimits(window, &width, &height);
283 _glfwSetWindowSizeNull(window, width, height);
286 void _glfwGetFramebufferSizeNull(_GLFWwindow* window, int* width, int* height)
288 if (width)
289 *width = window->null.width;
383 _glfw.null.xcursor <= window->null.xpos + window->null.width - 1 &&