This isn't so much of a "I don't know how to do it" thread as it is more of a general discussion thread regarding this subject.
I currently have a textbox, that is selectable, and editable. This part is cake. But for the next part, I do not know enough about SFML itself yet to determine the most optimal route.
1) Displaying the flashing | glyph at the edit point.
The only way I know to do this right now with SFML is to calculate the width of each individual character and how far it is in, and place it inbetween the two characters manually. Annoying in a way.
2) Being able to set an edit point by clicking in the middle of a textbox somewhere.
Once again, this goes back to the previous situation. I can manually calculate the position on the screen, the width of each character, and determine if the spot is within the string... but it seems like a pain in the arse,
Is there an easier way that this can be done?