I've spent my free time over the last two weeks hacking away at the cocoa-port started by Tristam MacDonald and Richard Thomas. Here's what I've added so far:
* Wrote a quartz-based image loader. (needs testing to make sure all formats work) * Rewrote the font code so that it can use fonts that are added with pyglet.font.add_file. As far as I can tell, there is no way to register a font that gets loaded from memory, so I had to change quite a bit here. As a side-effect also fixed a bug that garbled fonts when running 64-bit. * Fixed the key input handler. Can now receive key events for the modifier keys (shift, control, etc). Also fixed problems where multi key presses were translated into key equivalents, preventing proper on_key_release messages from being sent. * Removed spurious release messages being sent to the NSAutoRelease pools. Still left to do: * Switching to fullscreen from windowed mode doesn't work. I plan on looking at this next, but I think the approved method for doing this has changed in Mac OS 10.6. * vsync doesn't work. I'm not sure that this is currently possible to fix, since the necessary function is exposed incorrectly due to a PyObjC bug, and I'm not very optimistic about the state of PyObjC improving any time soon. * ??? In the meantime, what do I need to do to get the changes commited? --phillip -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
