SFML community forums

Help => System => Topic started by: Pixel_Outlaw on March 15, 2011, 09:34:17 am

Title: Text entry field object.
Post by: Pixel_Outlaw 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.
Title: Text entry field object.
Post by: Walker on March 15, 2011, 09:38:58 am
http://www.sfml-dev.org/forum/viewtopic.php?t=2269&sid=90084b782830051bb4fb7aa253ebf84a
Title: Text entry field object.
Post by: Pixel_Outlaw on March 15, 2011, 07:49:59 pm
Thanks for the help.  :D