Functions |
void | _glfwInputFramebufferSize (_GLFWwindow *window, int width, int height) |
| Notifies shared code of a framebuffer resize event.
|
void | _glfwInputWindowCloseRequest (_GLFWwindow *window) |
| Notifies shared code of a window close request event.
|
void | _glfwInputWindowDamage (_GLFWwindow *window) |
| Notifies shared code of a window damage event.
|
void | _glfwInputWindowFocus (_GLFWwindow *window, GLboolean focused) |
| Notifies shared code of a window focus event.
|
void | _glfwInputWindowIconify (_GLFWwindow *window, int iconified) |
| Notifies shared code of a window iconification event.
|
void | _glfwInputWindowPos (_GLFWwindow *window, int x, int y) |
| Notifies shared code of a window movement event.
|
void | _glfwInputWindowSize (_GLFWwindow *window, int width, int height) |
| Notifies shared code of a window resize event.
|
GLFWAPI GLFWwindow * | glfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share) |
| Creates a window and its associated context.
|
void | glfwDefaultWindowHints (void) |
| Resets all window hints to their default values.
|
GLFWAPI void | glfwDestroyWindow (GLFWwindow *handle) |
| Destroys the specified window and its context.
|
GLFWAPI void | glfwGetFramebufferSize (GLFWwindow *handle, int *width, int *height) |
| Retrieves the size of the framebuffer of the specified window.
|
GLFWAPI int | glfwGetWindowAttrib (GLFWwindow *handle, int attrib) |
| Returns an attribute of the specified window.
|
GLFWAPI void | glfwGetWindowFrameSize (GLFWwindow *handle, int *left, int *top, int *right, int *bottom) |
| Retrieves the size of the frame of the window.
|
GLFWAPI GLFWmonitor * | glfwGetWindowMonitor (GLFWwindow *handle) |
| Returns the monitor that the window uses for full screen mode.
|
GLFWAPI void | glfwGetWindowPos (GLFWwindow *handle, int *xpos, int *ypos) |
| Retrieves the position of the client area of the specified window.
|
GLFWAPI void | glfwGetWindowSize (GLFWwindow *handle, int *width, int *height) |
| Retrieves the size of the client area of the specified window.
|
GLFWAPI void * | glfwGetWindowUserPointer (GLFWwindow *handle) |
| Returns the user pointer of the specified window.
|
GLFWAPI void | glfwHideWindow (GLFWwindow *handle) |
| Hides the specified window.
|
GLFWAPI void | glfwIconifyWindow (GLFWwindow *handle) |
| Iconifies the specified window.
|
GLFWAPI void | glfwPollEvents (void) |
| Processes all pending events.
|
GLFWAPI void | glfwPostEmptyEvent (void) |
| Posts an empty event to the event queue.
|
GLFWAPI void | glfwRestoreWindow (GLFWwindow *handle) |
| Restores the specified window.
|
GLFWAPI GLFWframebuffersizefun | glfwSetFramebufferSizeCallback (GLFWwindow *handle, GLFWframebuffersizefun cbfun) |
| Sets the framebuffer resize callback for the specified window.
|
GLFWAPI GLFWwindowclosefun | glfwSetWindowCloseCallback (GLFWwindow *handle, GLFWwindowclosefun cbfun) |
| Sets the close callback for the specified window.
|
GLFWAPI GLFWwindowfocusfun | glfwSetWindowFocusCallback (GLFWwindow *handle, GLFWwindowfocusfun cbfun) |
| Sets the focus callback for the specified window.
|
GLFWAPI GLFWwindowiconifyfun | glfwSetWindowIconifyCallback (GLFWwindow *handle, GLFWwindowiconifyfun cbfun) |
| Sets the iconify callback for the specified window.
|
GLFWAPI void | glfwSetWindowPos (GLFWwindow *handle, int xpos, int ypos) |
| Sets the position of the client area of the specified window.
|
GLFWAPI GLFWwindowposfun | glfwSetWindowPosCallback (GLFWwindow *handle, GLFWwindowposfun cbfun) |
| Sets the position callback for the specified window.
|
GLFWAPI GLFWwindowrefreshfun | glfwSetWindowRefreshCallback (GLFWwindow *handle, GLFWwindowrefreshfun cbfun) |
| Sets the refresh callback for the specified window.
|
GLFWAPI void | glfwSetWindowShouldClose (GLFWwindow *handle, int value) |
| Sets the close flag of the specified window.
|
GLFWAPI void | glfwSetWindowSize (GLFWwindow *handle, int width, int height) |
| Sets the size of the client area of the specified window.
|
GLFWAPI GLFWwindowsizefun | glfwSetWindowSizeCallback (GLFWwindow *handle, GLFWwindowsizefun cbfun) |
| Sets the size callback for the specified window.
|
GLFWAPI void | glfwSetWindowTitle (GLFWwindow *handle, const char *title) |
| Sets the title of the specified window.
|
GLFWAPI void | glfwSetWindowUserPointer (GLFWwindow *handle, void *pointer) |
| Sets the user pointer of the specified window.
|
GLFWAPI void | glfwShowWindow (GLFWwindow *handle) |
| Makes the specified window visible.
|
GLFWAPI void | glfwWaitEvents (void) |
| Waits until events are queued and processes them.
|
GLFWAPI void | glfwWindowHint (int target, int hint) |
| Sets the specified window hint to the desired value.
|
GLFWAPI int | glfwWindowShouldClose (GLFWwindow *handle) |
| Checks the close flag of the specified window.
|