From ababd601cdd139219d28b16c3c3612cc441bbe21 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 6 Jan 2008 02:29:14 +0000 Subject: [PATCH] Added PointToClient and PointToScreen placeholders. --- Source/OpenTK/Platform/X11/X11GLNative.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 89fe5f51..b9a07ab4 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -478,6 +478,29 @@ namespace OpenTK.Platform.X11 #endregion + #region PointToClient + + public void PointToClient(ref System.Drawing.Point p) + { + /* + if (!Functions.ScreenToClient(this.Handle, p)) + throw new InvalidOperationException(String.Format( + "Could not convert point {0} from client to screen coordinates. Windows error: {1}", + p.ToString(), Marshal.GetLastWin32Error())); + */ + } + + #endregion + + #region PointToScreen + + public void PointToScreen(ref System.Drawing.Point p) + { + throw new NotImplementedException(); + } + + #endregion + #endregion #region --- IResizable Members ---