public static byte ImGui_ImplGlfw_GetWindowMinimized(ImGuiViewportPtr viewport) { var window = GetWindow(viewport); return((byte)(GLFW.GetWindowAttrib(window, WindowAttributeGetBool.Iconified) ? 1 : 0)); }
private static NativeBoolean GetWindowMinimized(ImGuiViewport *viewport) { ViewportData *viewportData = (ViewportData *)viewport->PlatformUserData; return(GLFW.GetWindowAttrib(viewportData->Window, WindowAttributeGetBool.Iconified)); }
public static byte ImGui_ImplGlfw_GetWindowFocus(ImGuiViewportPtr viewport) { var window = GetWindow(viewport); return((byte)(GLFW.GetWindowAttrib(window, WindowAttributeGetBool.Focused) ? 1 : 0)); }