Documented GLFW_DECORATED.

This commit is contained in:
Camilla Berglund 2013-04-08 15:28:38 +02:00
parent 49db3b2a9e
commit 7b5b33ee3b
2 changed files with 7 additions and 0 deletions

View File

@ -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` |

View File

@ -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