From 4b9e25af03030d558c2b7484e9660d206b1cbe42 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 11 Aug 2009 21:02:52 +0000 Subject: [PATCH] Made types used by X11WindowInfo public. --- Source/OpenTK/Platform/X11/API.cs | 4 ++-- Source/OpenTK/Platform/X11/Structs.cs | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/Platform/X11/API.cs b/Source/OpenTK/Platform/X11/API.cs index b5b312e8..068c8ef3 100644 --- a/Source/OpenTK/Platform/X11/API.cs +++ b/Source/OpenTK/Platform/X11/API.cs @@ -587,7 +587,7 @@ XF86VidModeGetGammaRampSize( #region internal class XVisualInfo [StructLayout(LayoutKind.Sequential)] - internal struct XVisualInfo + public struct XVisualInfo { public IntPtr visual; public VisualID visualid; @@ -1254,7 +1254,7 @@ XF86VidModeGetGammaRampSize( #endregion - internal enum XVisualClass : int + public enum XVisualClass : int { StaticGray = 0, GrayScale = 1, diff --git a/Source/OpenTK/Platform/X11/Structs.cs b/Source/OpenTK/Platform/X11/Structs.cs index beff7fda..14f8cc27 100644 --- a/Source/OpenTK/Platform/X11/Structs.cs +++ b/Source/OpenTK/Platform/X11/Structs.cs @@ -834,8 +834,10 @@ namespace OpenTK.Platform.X11 XK_Hyper_R = 0xFFEE, } + + [Flags] - internal enum EventMask + public enum EventMask { NoEventMask = 0, KeyPressMask = 1 << 0,