From 328c6d4eab1127cd9799540f253deda66060b68a Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Fri, 19 Feb 2016 11:06:44 +0100 Subject: free Crow base from OpenTK --- src/Input/KeyboardState.cs | 2 +- src/Input/MouseEventArgs.cs | 2 +- src/Input/MouseState.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Input') diff --git a/src/Input/KeyboardState.cs b/src/Input/KeyboardState.cs index ba392cac..283b4a69 100644 --- a/src/Input/KeyboardState.cs +++ b/src/Input/KeyboardState.cs @@ -210,7 +210,7 @@ namespace Crow #region Internal Members - internal void SetKeyState(Key key, bool down) + public void SetKeyState(Key key, bool down) { if (down) { diff --git a/src/Input/MouseEventArgs.cs b/src/Input/MouseEventArgs.cs index 758a5a69..e1f7ae2a 100644 --- a/src/Input/MouseEventArgs.cs +++ b/src/Input/MouseEventArgs.cs @@ -147,7 +147,7 @@ namespace Crow public MouseState Mouse { get { return state; } - internal set { state = value; } + set { state = value; } } #endregion 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)); -- cgit v1.3.1-4-g156e