Lines Matching refs:value

295 GLFWAPI void glfwWindowHint(int hint, int value)
302 _glfw.hints.framebuffer.redBits = value;
305 _glfw.hints.framebuffer.greenBits = value;
308 _glfw.hints.framebuffer.blueBits = value;
311 _glfw.hints.framebuffer.alphaBits = value;
314 _glfw.hints.framebuffer.depthBits = value;
317 _glfw.hints.framebuffer.stencilBits = value;
320 _glfw.hints.framebuffer.accumRedBits = value;
323 _glfw.hints.framebuffer.accumGreenBits = value;
326 _glfw.hints.framebuffer.accumBlueBits = value;
329 _glfw.hints.framebuffer.accumAlphaBits = value;
332 _glfw.hints.framebuffer.auxBuffers = value;
335 _glfw.hints.framebuffer.stereo = value ? GLFW_TRUE : GLFW_FALSE;
338 _glfw.hints.framebuffer.doublebuffer = value ? GLFW_TRUE : GLFW_FALSE;
341 _glfw.hints.framebuffer.transparent = value ? GLFW_TRUE : GLFW_FALSE;
344 _glfw.hints.framebuffer.samples = value;
347 _glfw.hints.framebuffer.sRGB = value ? GLFW_TRUE : GLFW_FALSE;
350 _glfw.hints.window.resizable = value ? GLFW_TRUE : GLFW_FALSE;
353 _glfw.hints.window.decorated = value ? GLFW_TRUE : GLFW_FALSE;
356 _glfw.hints.window.focused = value ? GLFW_TRUE : GLFW_FALSE;
359 _glfw.hints.window.autoIconify = value ? GLFW_TRUE : GLFW_FALSE;
362 _glfw.hints.window.floating = value ? GLFW_TRUE : GLFW_FALSE;
365 _glfw.hints.window.maximized = value ? GLFW_TRUE : GLFW_FALSE;
368 _glfw.hints.window.visible = value ? GLFW_TRUE : GLFW_FALSE;
371 _glfw.hints.window.xpos = value;
374 _glfw.hints.window.ypos = value;
377 _glfw.hints.window.win32.keymenu = value ? GLFW_TRUE : GLFW_FALSE;
380 _glfw.hints.window.win32.showDefault = value ? GLFW_TRUE : GLFW_FALSE;
383 _glfw.hints.context.nsgl.offline = value ? GLFW_TRUE : GLFW_FALSE;
386 _glfw.hints.window.scaleToMonitor = value ? GLFW_TRUE : GLFW_FALSE;
390 _glfw.hints.window.scaleFramebuffer = value ? GLFW_TRUE : GLFW_FALSE;
393 _glfw.hints.window.centerCursor = value ? GLFW_TRUE : GLFW_FALSE;
396 _glfw.hints.window.focusOnShow = value ? GLFW_TRUE : GLFW_FALSE;
399 _glfw.hints.window.mousePassthrough = value ? GLFW_TRUE : GLFW_FALSE;
402 _glfw.hints.context.client = value;
405 _glfw.hints.context.source = value;
408 _glfw.hints.context.major = value;
411 _glfw.hints.context.minor = value;
414 _glfw.hints.context.robustness = value;
417 _glfw.hints.context.forward = value ? GLFW_TRUE : GLFW_FALSE;
420 _glfw.hints.context.debug = value ? GLFW_TRUE : GLFW_FALSE;
423 _glfw.hints.context.noerror = value ? GLFW_TRUE : GLFW_FALSE;
426 _glfw.hints.context.profile = value;
429 _glfw.hints.context.release = value;
432 _glfw.hints.refreshRate = value;
439 GLFWAPI void glfwWindowHintString(int hint, const char* value)
441 assert(value != NULL);
448 strncpy(_glfw.hints.window.ns.frameName, value,
452 strncpy(_glfw.hints.window.x11.className, value,
456 strncpy(_glfw.hints.window.x11.instanceName, value,
460 strncpy(_glfw.hints.window.wl.appId, value,
512 GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* handle, int value)
519 window->shouldClose = value;
943 GLFWAPI void glfwSetWindowAttrib(GLFWwindow* handle, int attrib, int value)
950 value = value ? GLFW_TRUE : GLFW_FALSE;
955 window->autoIconify = value;
959 window->resizable = value;
961 _glfw.platform.setWindowResizable(window, value);
965 window->decorated = value;
967 _glfw.platform.setWindowDecorated(window, value);
971 window->floating = value;
973 _glfw.platform.setWindowFloating(window, value);
977 window->focusOnShow = value;
981 window->mousePassthrough = value;
982 _glfw.platform.setWindowMousePassthrough(window, value);