mirror of
https://github.com/glfw/glfw.git
synced 2025-06-08 00:34:56 +00:00
Resolve 1
This commit is contained in:
parent
153243f15d
commit
fc6ff5a7a2
@ -879,13 +879,14 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
#define GLFW_DECORATED 0x00020005
|
#define GLFW_DECORATED 0x00020005
|
||||||
/*! @brief Window borderless areo window hint and attribute
|
/*! @brief Window borderless areo window hint and attribute
|
||||||
|
*
|
||||||
|
* This hint works only for windows!
|
||||||
*
|
*
|
||||||
* Window borderless areo [window hint](@ref GLFW_BORDERLESS_AREO_hint) and
|
* Window borderless areo [window hint](@ref GLFW_BORDERLESS_AREO_hint) and
|
||||||
* [window attribute](@ref GLFW_BORDERLESS_AREO_attrib).
|
* [window attribute](@ref GLFW_BORDERLESS_AREO_attrib).
|
||||||
*/
|
*/
|
||||||
#define GLFW_BORDERLESS_AREO 0x00020015
|
#define GLFW_BORDERLESS_AREO 0x00020015
|
||||||
/*! @brief Window auto-iconification window hint and attribute
|
/*! @brief Window auto-iconification window hint and attribute
|
||||||
* This hint works only for windows.
|
|
||||||
*
|
*
|
||||||
* Window auto-iconification [window hint](@ref GLFW_AUTO_ICONIFY_hint) and
|
* Window auto-iconification [window hint](@ref GLFW_AUTO_ICONIFY_hint) and
|
||||||
* [window attribute](@ref GLFW_AUTO_ICONIFY_attrib).
|
* [window attribute](@ref GLFW_AUTO_ICONIFY_attrib).
|
||||||
|
@ -37,8 +37,6 @@
|
|||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
|
|
||||||
#include <Windows.h>
|
|
||||||
|
|
||||||
// Returns the window style for the specified window
|
// Returns the window style for the specified window
|
||||||
//
|
//
|
||||||
static DWORD getWindowStyle(const _GLFWwindow* window)
|
static DWORD getWindowStyle(const _GLFWwindow* window)
|
||||||
@ -605,8 +603,6 @@ static void maximizeWindowManually(_GLFWwindow* window)
|
|||||||
|
|
||||||
// Window procedure for user-created windows
|
// Window procedure for user-created windows
|
||||||
//
|
//
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
_GLFWwindow* window = GetPropW(hWnd, L"GLFW");
|
_GLFWwindow* window = GetPropW(hWnd, L"GLFW");
|
||||||
|
Loading…
Reference in New Issue
Block a user