aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Input/MouseState.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-19 11:06:44 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-01 05:06:16 +0100
commit328c6d4eab1127cd9799540f253deda66060b68a (patch)
treeeeb1c888ed94c444d673f9f827b4df447e249ea4 /src/Input/MouseState.cs
parent2cb0e7507022aa0449c1af264230784039b24e15 (diff)
free Crow base from OpenTK
Diffstat (limited to 'src/Input/MouseState.cs')
-rw-r--r--src/Input/MouseState.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Input/MouseState.cs b/src/Input/MouseState.cs
index c645062a..e0438fc7 100644
--- a/src/Input/MouseState.cs
+++ b/src/Input/MouseState.cs
@@ -38,7 +38,7 @@ namespace Crow
{
#region Fields
- internal const int MaxButtons = 16; // we are storing in an ushort
+ public const int MaxButtons = 16; // we are storing in an ushort
Point position;
MouseScroll scroll;
ushort buttons;
@@ -285,7 +285,7 @@ namespace Crow
return (buttons & (1 << offset)) != 0;
}
- internal void EnableBit(int offset)
+ public void EnableBit(int offset)
{
ValidateOffset(offset);
buttons |= unchecked((ushort)(1 << offset));