On 2/22/08, Richard Jones <[EMAIL PROTECTED]> wrote: > > On Fri, 22 Feb 2008, infinite8s wrote: > > Basically, what are the minimum functions/classes that I would need to > > implement? Thanks. > > > In short - and I'm a little hazy on this because it's been a long time since I > last had my hands in the window code - the core responsibility is to provide > an OpenGL context. Of course there's a lot that goes into that - capabilities > requested by the programmer, handling multiple screens, etc. You might find > it useful to examine the existing pyglet.window.carbon implementation since > it's one of the most straight-forward of the three.
Of course, since the OP is targetting the iPhone, there's probably no need to support multiple screens or capabilities ;-) Porting any minimal OpenGL Cocoa example to Python would be sufficient to get started. The story as of a week or so ago was that PyObjC hasn't yet been ported to the iPhone CPU (ARM?) (which is your only possible interface to Cocoa). Alex. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
