本文整理了Java中org.lwjgl.glfw.GLFW.glfwRestoreWindow()
方法的一些代码示例,展示了GLFW.glfwRestoreWindow()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GLFW.glfwRestoreWindow()
方法的具体详情如下:
包路径:org.lwjgl.glfw.GLFW
类名称:GLFW
方法名:glfwRestoreWindow
[英]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 a full screen window, the resolution chosen for the window is restored on the selected monitor.
This function must only be called from the main thread.
[中]如果指定的窗口以前已图标化(最小化)或最大化,则恢复该窗口。如果窗口已还原,则此函数不执行任何操作。
如果指定的窗口是全屏窗口,则为该窗口选择的分辨率将在所选监视器上恢复。
只能从主线程调用此函数。
代码示例来源:origin: libgdx/libgdx
/**
* De-minimizes (de-iconifies) and de-maximizes the window.
*/
public void restoreWindow() {
GLFW.glfwRestoreWindow(windowHandle);
}
代码示例来源:origin: libgdx/libgdx
/**
* De-minimizes (de-iconifies) and de-maximizes the window.
*/
public void restoreWindow() {
GLFW.glfwRestoreWindow(windowHandle);
}
代码示例来源:origin: sriharshachilakapati/SilenceEngine
/**
* <p> This method restores this window if it was previously iconified (minimized). If the window is already
* restored, this method does nothing.</p>
*
* <p> If this window is a full screen window, the resolution chosen for the window is restored on the selected
* monitor.</p>
*/
public void restore()
{
glfwRestoreWindow(handle);
}
代码示例来源:origin: com.badlogicgames.gdx/gdx-backend-lwjgl3
/**
* De-minimizes (de-iconifies) and de-maximizes the window.
*/
public void restoreWindow() {
GLFW.glfwRestoreWindow(windowHandle);
}
内容来源于网络,如有侵权,请联系作者删除!