diff --git a/src/OpenTK.GLWidget/OSX/OSXWindowInfoInitializer.cs b/src/OpenTK.GLWidget/OSX/OSXWindowInfoInitializer.cs index fcf27bd7..1eaec2df 100644 --- a/src/OpenTK.GLWidget/OSX/OSXWindowInfoInitializer.cs +++ b/src/OpenTK.GLWidget/OSX/OSXWindowInfoInitializer.cs @@ -32,6 +32,10 @@ using OpenTK.Platform; namespace OpenTK.OSX { + /// + /// Handler class for initializing objects under the OSX platform for both GTK2 and + /// GTK3. + /// public static class OSXWindowInfoInitializer { #if GTK3 @@ -40,6 +44,10 @@ namespace OpenTK.OSX const string OSXLibGdkName = "libgdk-quartz-2.0.0.dylib"; #endif + /// + /// Initializes an under the OSX platform. + /// + /// public static IWindowInfo Initialize(IntPtr gdkWindowHandle) { IntPtr windowHandle = gdk_quartz_window_get_nswindow(gdkWindowHandle); diff --git a/src/OpenTK.GLWidget/Win/WinWindowsInfoInitializer.cs b/src/OpenTK.GLWidget/Win/WinWindowsInfoInitializer.cs index d1da1cb3..1c80d799 100644 --- a/src/OpenTK.GLWidget/Win/WinWindowsInfoInitializer.cs +++ b/src/OpenTK.GLWidget/Win/WinWindowsInfoInitializer.cs @@ -32,6 +32,10 @@ using OpenTK.Platform; namespace OpenTK.Win { + /// + /// Handler class for initializing objects under the Windows platform for both GTK2 and + /// GTK3. + /// public static class WinWindowsInfoInitializer { #if GTK3 @@ -39,6 +43,11 @@ namespace OpenTK.Win #else private const string WinLibGDKName = "libgdk-win32-2.0-0.dll"; #endif + + /// + /// Initializes an under the Windows platform. + /// + /// public static IWindowInfo Initialize(IntPtr gdkWindowHandle) { #if GTK3 diff --git a/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs b/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs index c37bad18..21bd3951 100644 --- a/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs +++ b/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs @@ -34,6 +34,9 @@ using OpenTK.Platform; namespace OpenTK.X11 { + /// + /// Handler class for initializing objects under the X11 platform for both GTK2 and GTK3. + /// public static class XWindowInfoInitializer { @@ -45,6 +48,15 @@ namespace OpenTK.X11 private const string UnixLibX11Name = "libX11.so.6"; private const string UnixLibGLName = "libGL.so.1"; + /// + /// Initializes an under the X11 platform. + /// + /// + /// + /// + /// + /// + /// public static IWindowInfo Initialize(GraphicsMode mode, IntPtr displayHandle, int screenNumber, IntPtr gdkWindowHandle, IntPtr gdkRootWindowHandle) { IntPtr display = gdk_x11_display_get_xdisplay(displayHandle);