SDL is driving me crazy, on the one hand I find it works very well for the applications I am developing
http://sol3.typepad.com/tagalong_developer_journa/2010/01/the-ffplay-mods-are-complete.html
on the other I find the following to make app development of anything but games difficult and annoying
Windows:
Full-size, single window applications only. You cannot create multi-window SDL applications for iPhone OS. The application window will fill the display, though you have the option of turning on or off the menu-bar (pass SDL_CreateWindow the flag SDL_WINDOW_BORDERLESS). Presently, landscape mode is not supported.
I am sure many devlopers here will disagree and that is their prorogrative. But I find SDL 1.3 unacceptable for my needs and would like to try to do something about that. Any mods I develope will be available to everyone.
I need some answers/hints to a few question though.
Questions :
I see an inplementation called sdl_core_audio.c, which seems to have all the functions available to set up an audiodevice (remoteIO???) , but I don’t see this class used anywhere.
If I don’t need to use the event loop or open gl support in sdl is it possible to just use the audio classes.
ie. Can you do something like
SDL_AudioInit(null)
Any hints on what classes I would need to modify.
Possible mods:
- I’m thinking a very simple mod would be to add a handleOpenURL method to uiTapKitDelegate which should allow passing an url to sdl app. the url could than be included in the var copy loop.
Similarly on sdl quit. I’m thinking you could get hold of the delegage and do a url back to the caller.
Alternatively the url could be passed via a shared keychain.
Finally
- IF I wanted to add a toolbar to the view and display a table view for instance, or at least a uiwebview, it their anyway I can do that.
I’ve been following the implementation of the onscreen keyboard and I see that there is
an SDL_uikitView that is declared as an interface in SDL_uikitopenglView,
It would seem to me that any hacks to display a subview would start there.
I’m I on the right track, I hope.
please help , this is driving me crazy. [Crying or Very sad]