Results 1 to 3 of 3

Thread: Text input in SDL

  1. #1

    Text input in SDL

    Hey guys

    I want to handle text input events in SDL. I've seen C/C++ code using the SDL_INPUTEVENT event. However, I can't find it in SDL.pas. Also, I'm not sure how to add it, because I feel I may break the whole SDL_Event datastructure.

    Can anyone please help?

    Thanks

    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  2. #2

    Re: Text input in SDL

    As far as I know text input and editing with SDL is a feature of SDL 1.3.
    Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
    Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)

    Programmer: A device for converting coffein into software.

  3. #3

    Re: Text input in SDL

    Oh yes. Your headers have it.

    I just contacted Dom, and he will probably include a temporary SDL 1.3 header in the JEDI-SDL project. We can maintain that one until SDL 1.3 finally comes out.
    When the header is up, I'll take a look at it and I may merge some things from your header into it.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •