2
0
Эх сурвалжийг харах

Documented GLFW_DECORATED.

Camilla Berglund 12 жил өмнө
parent
commit
7b5b33ee3b

+ 5 - 0
docs/window.dox

@@ -118,6 +118,10 @@ glfwSetWindowSize function.  This hint is ignored for fullscreen windows.
 The `GLFW_VISIBLE` hint specifies whether the window will be initially
 The `GLFW_VISIBLE` hint specifies whether the window will be initially
 visible.  This hint is ignored for fullscreen windows.
 visible.  This hint is ignored for fullscreen windows.
 
 
+The `GLFW_DECORATED` hint specifies whether the window will have window
+decorations such as a border, a close widget, etc.  This hint is ignored for
+fullscreen windows.
+
 
 
 @subsection window_hints_values Supported and default values
 @subsection window_hints_values Supported and default values
 
 
@@ -125,6 +129,7 @@ visible.  This hint is ignored for fullscreen windows.
 | ---------------------------- | ------------------------ | ----------------------- |
 | ---------------------------- | ------------------------ | ----------------------- |
 | `GLFW_RESIZABLE`             | `GL_TRUE`                | `GL_TRUE` or `GL_FALSE` |
 | `GLFW_RESIZABLE`             | `GL_TRUE`                | `GL_TRUE` or `GL_FALSE` |
 | `GLFW_VISIBLE`               | `GL_TRUE`                | `GL_TRUE` or `GL_FALSE` |
 | `GLFW_VISIBLE`               | `GL_TRUE`                | `GL_TRUE` or `GL_FALSE` |
+| `GLFW_DECORATED`             | `GL_TRUE`                | `GL_TRUE` or `GL_FALSE` |
 | `GLFW_RED_BITS`              | 8                        | 0 to `INT_MAX`          |
 | `GLFW_RED_BITS`              | 8                        | 0 to `INT_MAX`          |
 | `GLFW_GREEN_BITS`            | 8                        | 0 to `INT_MAX`          |
 | `GLFW_GREEN_BITS`            | 8                        | 0 to `INT_MAX`          |
 | `GLFW_BLUE_BITS`             | 8                        | 0 to `INT_MAX`          |
 | `GLFW_BLUE_BITS`             | 8                        | 0 to `INT_MAX`          |

+ 2 - 0
include/GL/glfw3.h

@@ -1363,6 +1363,8 @@ GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window);
  *  The `GLFW_RESIZABLE` parameter indicates whether the window is resizable
  *  The `GLFW_RESIZABLE` parameter indicates whether the window is resizable
  *  by the user.
  *  by the user.
  *
  *
+ *  The `GLFW_DECORATED` parameter indicates whether the window is decorated.
+ *
  *  @par Context parameters
  *  @par Context parameters
  *
  *
  *  The `GLFW_CLIENT_API` parameter indicates the client API provided by the
  *  The `GLFW_CLIENT_API` parameter indicates the client API provided by the