From: Sam S. <sam...@gm...> - 2005-11-19 21:31:52
|
On Nov 19, 2005, at 4:18 PM, Atani wrote: > Instead of flipping on Y it should probably just subtract the > window size from Y (640). Yes. > That also brings up another point, what about fullscreen modes for > OSX? These would be useful. I've looked around for info, to make a fullscreen version of DCSquares, but it was too awkward because I was using the Cocoa event loop for everything. This should be easier to do for Tiki since it has its own event loop, I'll look around again for info on how to do it. > This looks like the NSLog line is incorrect, I thought I had fixed > this > already. Change the %d to %f and it should give you decent > values. The > values in NSPoint are float not int. I'll try this, but the values that come through the Evt object are the same garbage that NSLog is outputting. > Ok, that sounds fine, can we show/hide the cursor easily on OSX? I > know > on SDL we simply call SDL_Hide_Cursor() (i think). Yep, I have code to do this in DCSquares. I'll add it to Tiki this evening, unless you get there first :) > Cool, I will refresh and do some more adjustments to the mouse on OSX > shortly. I'm thinking of making my mouse pointer function into a Drawable so it can be more easily re-used. Can Anims receive HID events? I was thinking I could hook a followMouse Anim up to a mousePointer (or Banner) Drawable and have an instant working mouse pointer. I'll look into that this evening, too. -Sam |