コード例 #1
0
ファイル: glfw.go プロジェクト: andrebq/glfw
// RestoreWindow restores an iconified window. If the window that is restored is
// in fullscreen mode, then the fullscreen video mode will be restored.
func RestoreWindow() { C.glfwRestoreWindow() }
コード例 #2
0
ファイル: window.go プロジェクト: juturnas/glfw3
//Restore restores the window, if it was previously iconified/minimized. If it
//is a full screen window, the resolution chosen for the window is restored on
//the selected monitor. If the window is already restored, this function does
//nothing.
//
//This function may only be called from the main thread. See
//https://code.google.com/p/go-wiki/wiki/LockOSThread
func (w *Window) Restore() {
	C.glfwRestoreWindow(w.data)
}
コード例 #3
0
ファイル: glfw.go プロジェクト: maun/glfw
func RestoreWindow(window Window) { C.glfwRestoreWindow(C.GLFWwindow(window)) }
コード例 #4
0
ファイル: window.go プロジェクト: godispy/glfw
// Restore restores the window, if it was previously iconified/minimized. If it
// is a full screen window, the resolution chosen for the window is restored on
// the selected monitor. If the window is already restored, this function does
// nothing.
//
// This function may only be called from the main thread.
func (w *Window) Restore() error {
	C.glfwRestoreWindow(w.data)
	return acceptError(APIUnavailable)
}