These are chat archives for opentk/opentk

5th
Jan 2017
James Fletcher
@jammln
Jan 05 2017 18:08
Hey, I am currently having some issues trying to find a way to set the mouse position and making it visible within the game window. I am using version 2 and cannot find anything in the source of the DLL to do it? Is it possible in this version? Thanks
Rosen Iliev
@winterhell
Jan 05 2017 20:42
You have
bool CursorVisible; in the gamewindow
Also a MouseCursor handle
James Fletcher
@jammln
Jan 05 2017 20:43
Hmm, In the version I am using neither of those properties exist
James Fletcher
@jammln
Jan 05 2017 20:45
Ohh, I'm on 2.0.0, quite a new release
Rosen Iliev
@winterhell
Jan 05 2017 20:45
Just tried the most recent source from github
it is available there as well
OpenTK.NativeWindow nativeWindow;
nativeWindow.CursorVisible = true;
Are you using GLControl by any chance?
instead of the NativeWindow
James Fletcher
@jammln
Jan 05 2017 20:46
No, I am using GameWindow which implements NativeWindow
Rosen Iliev
@winterhell
Jan 05 2017 20:47
and you dont have this.CursorVisible
James Fletcher
@jammln
Jan 05 2017 20:48
I installed it from the NuGet package, I don't think the recent source on github is 2.0.0. These are the properties I have in NativeWindow https://gyazo.com/8f2abf170780a9d99b95a5cbacd8865c
Rosen Iliev
@winterhell
Jan 05 2017 20:49
You might have a better luck with the source files
you only need to download as zip, run the build.sh
and then find the compiled dlls
James Fletcher
@jammln
Jan 05 2017 20:52
Oh okay, I will give it a go, also should I report it as an issue on the Github page? Thanks for the help
Rosen Iliev
@winterhell
Jan 05 2017 20:54
Maybe you should, if you feel like it
The NuGet build doesnt seem to be updated
James Fletcher
@jammln
Jan 05 2017 20:55
I used https://www.nuget.org/packages/OpenTK/ which is the latest release I think
Compiling from source has worked and I have the cursor properties, thank you
Rosen Iliev
@winterhell
Jan 05 2017 20:59
You are welcome
DJGravey
@DJGravey
Jan 05 2017 23:40
Hi. The majority of resources at https://opentk.github.io/opentk.github.io/resources/ are dead links. Have they been relocated somewhere?