I mixed up visible and hidden.

This commit is contained in:
UnknownShadow200 2015-11-01 08:14:43 +11:00
parent b4c64425f5
commit 1f8d4574d4
2 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<ProjectGuid>{BEB1C785-5CAD-48FF-A886-876BF0A318D4}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Exe</OutputType>
<OutputType>WinExe</OutputType>
<RootNamespace>ClassicalSharp</RootNamespace>
<AssemblyName>ClassicalSharp</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>

View File

@ -1038,16 +1038,19 @@ namespace OpenTK.Platform.MacOS
}
// TODO: Proper hide and show cursor
// TODO: appears to be broken on OSX, thanks mono.
bool hidden = false;
public bool CursorVisible {
get { return hidden; }
get { return true; }
set { }
/*get { return hidden; }
set {
hidden = value;
if( hidden )
System.Windows.Forms.Cursor.Hide();
else
System.Windows.Forms.Cursor.Show();
}
}*/
}
#endregion