[SDL] sdl notepad
Ricardo Rodrigues
arqueiro at gmx.net
Wed May 5 07:29:00 PDT 2004
i will try find it on the website, because i dont receive this msg.
----- Original Message -----
From: "Brian Cody" <bjc9019 at rit.edu>
To: <sdl at libsdl.org>
Sent: Wednesday, May 05, 2004 11:07 AM
Subject: RE: [SDL] sdl notepad
> > hi ! im new here also new on SDL program...
> > i want to make little notepad inside my SDL game...
> > jus to write some text, im using SDL_ttf...
> > how to do that ?
> > i think that i need use SDL_PollEvent(&event) and event.type ==
SDL_KEYDOWN
> > but dont know how to do it
> > need you help guys !
> > thanks !
>
> A question like this was very recently asked. Read up on the topic "how
to ask a player for his name and store it in a variable?". There's some
good example code in there. As for actually writing the text, the package
should have example code.
>
>
>
>
More information about the SDL
mailing list