Esempio n. 1
0
GLFWAPI void glfwRestoreWindow(GLFWwindow* handle)
{
    _GLFWwindow* window = (_GLFWwindow*) handle;
    assert(window != NULL);

    _GLFW_REQUIRE_INIT();
    _glfwPlatformRestoreWindow(window);
}
Esempio n. 2
0
File: window.c Progetto: Botyto/Core
GLFWAPI void glfwRestoreWindow(GLFWwindow * handle)
{
	_GLFWwindow * window = (_GLFWwindow *) handle;

	_GLFW_REQUIRE_INIT();

	if (!window->iconified)
	{ return; }

	_glfwPlatformRestoreWindow(window);
}
Esempio n. 3
0
GLFWAPI void GLFWAPIENTRY glfwRestoreWindow( void )
{
    if( !_glfwInitialized || !_glfwWin.opened || !_glfwWin.iconified )
    {
        return;
    }

    // Restore iconified window
    _glfwPlatformRestoreWindow();

    // Refresh window parameters
    _glfwPlatformRefreshWindowParams();
}
Esempio n. 4
0
File: window.c Progetto: kayson/glfw
GLFWAPI void glfwRestoreWindow(GLFWwindow* handle)
{
    _GLFWwindow* window = (_GLFWwindow*) handle;

    if (!_glfwInitialized)
    {
        _glfwInputError(GLFW_NOT_INITIALIZED, NULL);
        return;
    }

    if (!window->iconified)
        return;

    _glfwPlatformRestoreWindow(window);
}
Esempio n. 5
0
GLFWAPI void glfwRestoreWindow(GLFWwindow handle)
{
    _GLFWwindow* window = (_GLFWwindow*) handle;

    if (!_glfwInitialized)
    {
        _glfwSetError(GLFW_NOT_INITIALIZED, NULL);
        return;
    }

    if (!window->iconified)
        return;

    _glfwPlatformRestoreWindow(window);

    if (window->mode == GLFW_FULLSCREEN)
        _glfwPlatformRefreshWindowParams(window);
}