gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFA: patches


From: Richard Frith-Macdonald
Subject: Re: RFA: patches
Date: Wed, 11 Mar 2009 08:36:29 +0000


On 7 Mar 2009, at 23:17, Thomas Gamper wrote:

Hi!

Richard Frith-Macdonald schrieb:

On 7 Mar 2009, at 11:02, address@hidden wrote:

Hi!

This is just a heads-up for my patches, since I don' want to commit them without your feedback.

1. I implemented key repeat support for keyboard events in GServerEvent 2. I implemented mouse position setting support in GSDisplayServer and XGServerWindow. I really need that feature in any serious OpenGL application. 3. I did some NSOpenGL improvements, like multisampling support. I think I should coordinate my work there with Xavier and Matt.

I know nothing about OpenGL stuff, and the little I could find about setting the mouse position in Cocoa says 'don't do it', but assuming there is good reason for adding that capability, I have one comment ...
Yeah, Cocoa is not able to set mouse cursor position. You need to use some low level quartz call on OS X for doing that. As a short explanation why I need this feature: Basically I implement a first person view camera (classical First Person Shooter Camera), so everytime the mouse cursor gets near the window border I have to set it to the center again. Every FPS Camera works this way, you have to do the same on Windows, there's no way around it. This brings me to your next comment

You really need to provide an implementation for mswindows as well as for gnu/linux. This is really essential for writing portable applications ... it's a really good discipline to ensure that any code which works on gnu/linux works on mswindows too.
Okay, I will try to get gnustep trunk running on Windows. Is there some tutorial in the wiki or somewhere else how to do that?

There are instructions in the gnustep-make package in Documentation/ README.MinGW I followed those last time I installed, but mostly I just update my existing installation from svn now.

There is also a windows installer package you can get from the downloads section of the gnustep website, and that must be the easiest option by far. I believe you can then update that with newer code from svn, but I've not tried it. Probably other people can help you with that.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]