glfwRestoreWindow function

void glfwRestoreWindow(
  1. Pointer<GLFWwindow> window
)

! @brief Restores the specified window.

This function restores the specified window if it was previously iconified (minimized) or maximized. If the window is already restored, this function does nothing.

If the specified window is an iconified full screen window, its desired video mode is set again for its monitor when the window is restored.

@paramin window The window to restore.

@errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref GLFW_PLATFORM_ERROR.

@thread_safety This function must only be called from the main thread.

@sa @ref window_iconify @sa @ref glfwIconifyWindow @sa @ref glfwMaximizeWindow

@since Added in version 2.1. @glfw3 Added window handle parameter.

@ingroup window

GLFWAPI void glfwRestoreWindow(GLFWwindow* window)

Implementation

void glfwRestoreWindow(Pointer<GLFWwindow> window) {
  final glfwRestoreWindowLookupFunction = libglfw.lookupFunction<
      Void Function(Pointer<GLFWwindow> window),
      void Function(Pointer<GLFWwindow> window)>('glfwRestoreWindow');
  return glfwRestoreWindowLookupFunction(window);
}