projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf47f1
)
GetCursor function.
author
Fraser
<frassle@gmail.com>
Fri, 21 Feb 2014 00:01:27 +0000
(
00:01
+0000)
committer
thefiddler
<stapostol@gmail.com>
Sun, 27 Apr 2014 08:53:32 +0000
(10:53 +0200)
Source/OpenTK/Platform/Windows/API.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/Windows/API.cs
b/Source/OpenTK/Platform/Windows/API.cs
index
fc4a3a1
..
5ab400b
100644
(file)
--- a/
Source/OpenTK/Platform/Windows/API.cs
+++ b/
Source/OpenTK/Platform/Windows/API.cs
@@
-1138,6
+1138,16
@@
namespace OpenTK.Platform.Windows
[DllImport("user32.dll")]
public static extern HCURSOR SetCursor(HCURSOR hCursor);
+ /// <summary>
+ /// Retrieves a handle to the current cursor.
+ /// </summary>
+ /// <returns>
+ /// The return value is the handle to the current cursor. If there is
+ /// no cursor, the return value is null.
+ /// </returns>
+ [DllImport("user32.dll")]
+ public static extern HCURSOR GetCursor();
+
#region Async input
#region GetCursorPos