From 43aaa0274556ef2166011d0063be8a1a4b947adf Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 19 May 2008 20:57:36 +0000 Subject: [PATCH] Make WinWindowInfo public. Fixed X11WindowInfo line endings. --- Source/OpenTK/Platform/Windows/WinWindowInfo.cs | 3 +-- Source/OpenTK/Platform/X11/X11WindowInfo.cs | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/OpenTK/Platform/Windows/WinWindowInfo.cs b/Source/OpenTK/Platform/Windows/WinWindowInfo.cs index a39445b7..0ea13864 100644 --- a/Source/OpenTK/Platform/Windows/WinWindowInfo.cs +++ b/Source/OpenTK/Platform/Windows/WinWindowInfo.cs @@ -4,9 +4,8 @@ using System.Text; namespace OpenTK.Platform.Windows { - /// /// Describes a win32 window. - internal sealed class WinWindowInfo : IWindowInfo + public sealed class WinWindowInfo : IWindowInfo { IntPtr handle, dc; WinWindowInfo parent; diff --git a/Source/OpenTK/Platform/X11/X11WindowInfo.cs b/Source/OpenTK/Platform/X11/X11WindowInfo.cs index 826b9131..3dc6dd32 100644 --- a/Source/OpenTK/Platform/X11/X11WindowInfo.cs +++ b/Source/OpenTK/Platform/X11/X11WindowInfo.cs @@ -56,9 +56,9 @@ namespace OpenTK.Platform.X11 public IntPtr RootWindow { get { return rootWindow; } set { rootWindow = value; } } /// Gets or sets the connection to the X11 display. public IntPtr Display { get { return display; } set { display = value; } } - /// Gets or sets the X11 screen. - public int Screen { get { return screen; } set { screen = value; } } - //{ get { return Functions.XRRRootToScreen(display, rootWindow); } set { } } + /// Gets or sets the X11 screen. + public int Screen { get { return screen; } set { screen = value; } } + //{ get { return Functions.XRRRootToScreen(display, rootWindow); } set { } } //public int Screen { get { return screen; } set { screen = value; } } /// Gets or sets the X11 VisualInfo. public XVisualInfo VisualInfo { get { return visualInfo; } set { visualInfo = value; } }