[SDL] iOS System Callback

Gabriel Jacobo gabomdq at gmail.com
Fri Mar 30 05:49:27 PDT 2012


2012/3/29 Brian Barnes <ggadwa at charter.net>:
> OK, the last thing I want this to do is become some dumb fight on the level of things that end up being minutia.  There are things that are very easy to compromise on, but we're going to be running around in circles until somebody with the authority decides to let something get in the trunk :)  I think this patch is a good starting place.  Let's see if we can get it in and then we can move forward with some development and see how well it works.  I'm willing to do all the heavy lifting on a pretty complex large piece of code (that is cross platform OS X/PC/iOS) and make sure it all works.
>
> [>] Brian

I'm sure Sam will send a message on about this eventually, I hope I'm
not going out of line here posting this, but I chatted with him about
this issue yesterday:

Sam:  I'm actually okay with it.There actually is a system specific
message callback system. SDL_SYSWM And you can set a callback hook
that gets called inline. But it's kind of clunky for the kind of stuff
you're dealing with here.
Sam:  I'm also okay with the delegate idea. It's cleaner for sure, but
not extensible to other operating systems. Honestly, I'd like to see
how it works out and get feedback from people on which they like best.

So there you have it! I think that if you clean the patch up, upload
it on the tracker or an unofficial repository ready to use for people
to try it there's a good chance the patch will get accepted.

-- 
Gabriel.



More information about the SDL mailing list