From 6c6318b66d7062c4ad3d1842e9abdf8daf3908c7 Mon Sep 17 00:00:00 2001 From: "Colin J. Brigato" Date: Sat, 21 Sep 2024 05:47:25 +0200 Subject: [PATCH 1/3] Add MasterWindowFlagsHidden Update MasterWindow witj GLFWWindowsFlagsVisible access --- MasterWindow.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MasterWindow.go b/MasterWindow.go index 7f7d5a52..23ce819b 100644 --- a/MasterWindow.go +++ b/MasterWindow.go @@ -25,6 +25,8 @@ const ( MasterWindowFlagsFrameless // Specifies whether the window will be transparent. MasterWindowFlagsTransparent + // Specifies wheter the windows will be hidden (for use with multiple windows) + MasterWindowFlagsHidden ) // parseAndApply converts MasterWindowFlags to appropriate imgui.GLFWWindowFlags. @@ -38,6 +40,7 @@ func (m MasterWindowFlags) parseAndApply(b imgui.Backend[imgui.GLFWWindowFlags]) MasterWindowFlagsFloating: {imgui.GLFWWindowFlagsFloating, 1}, MasterWindowFlagsFrameless: {imgui.GLFWWindowFlagsDecorated, 0}, MasterWindowFlagsTransparent: {imgui.GLFWWindowFlagsTransparent, 1}, + MasterWindowFlagsHidden: {imgui.GLFWWindowFlagsVisible, 0}, } for flag, d := range data { From 793a7b6b3aa44d554a7fc66ad59ab645fe393e68 Mon Sep 17 00:00:00 2001 From: "Colin J. Brigato" Date: Sat, 21 Sep 2024 13:51:57 +0200 Subject: [PATCH 2/3] Update MasterWindow.go Fixes golangci-lint for godot --- MasterWindow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MasterWindow.go b/MasterWindow.go index 23ce819b..7f6a980f 100644 --- a/MasterWindow.go +++ b/MasterWindow.go @@ -25,7 +25,7 @@ const ( MasterWindowFlagsFrameless // Specifies whether the window will be transparent. MasterWindowFlagsTransparent - // Specifies wheter the windows will be hidden (for use with multiple windows) + // Specifies wheter the windows will be hidden (for use with multiple windows). MasterWindowFlagsHidden ) From 799bf7833856cb3325c74ec141fac0eb68e278c9 Mon Sep 17 00:00:00 2001 From: "Colin J. Brigato" Date: Sat, 21 Sep 2024 16:50:15 +0200 Subject: [PATCH 3/3] Update MasterWindow.go Fix linting again --- MasterWindow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MasterWindow.go b/MasterWindow.go index 7f6a980f..2a8d958c 100644 --- a/MasterWindow.go +++ b/MasterWindow.go @@ -25,7 +25,7 @@ const ( MasterWindowFlagsFrameless // Specifies whether the window will be transparent. MasterWindowFlagsTransparent - // Specifies wheter the windows will be hidden (for use with multiple windows). + // Specifies whether the window will be hidden (for use with multiple windows). MasterWindowFlagsHidden )