How to open a browser?

Hi!
Does anyone know if SDL can manage browser windows? (i would like to chosse
which files (video and jpeg) i want to display on my screen… and i don’t
want to have 60 SDL_KEY in my code…)

Thx

@Olivier_Caignart_________________________________________________________________
Discutez en ligne avec vos amis, essayez MSN Messenger?:
http://messenger.msn.fr

olivier caignart wrote:

Does anyone know if SDL can manage browser windows? (i would like to
chosse which files (video and jpeg) i want to display on my screen…
and i don’t want to have 60 SDL_KEY in my code…)

i’m guessing you mean a file browser? sdl doesn’t have support for
system file browsers.

answering your second point… there’s a simple way to SDL to handle
typed text (like filenames). when sdl sends an SDL_KEYDOWN event, you
can enable a “unicode” interpretation of the character pressed. call
"SDL_EnableUNICODE(1);" to enable this. it places the interpreted values
in “SDL_Event->key.keysym.unicode”. using the unicode value it is pretty
easy to do simple text entry in sdl.

also, a potentially simpler and far less featured method… the SDL_K key
values all map to their ascii equivelents.