Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Text entry field object.  (Read 3862 times)

0 Members and 1 Guest are viewing this topic.

Pixel_Outlaw

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Text entry field object.
« on: March 15, 2011, 09:34:17 am »
I know that SFML was not created with text editing in mind. With that said I wonder how painful it would be to create a simple text entry field like object using SFML for keyboard detection?

Click the object to activate keyboard polling then capture keyboard strokes as if it were a normal GUI element.

I can create such an object, but the real question is how to capture keyboard strokes and turn them into string characters in real time. I want to make a very basic way to allow my users to enter string data.

Walker

  • Full Member
  • ***
  • Posts: 181
    • View Profile

Pixel_Outlaw

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Text entry field object.
« Reply #2 on: March 15, 2011, 07:49:59 pm »
Thanks for the help.  :D