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

Author Topic: System for writing text  (Read 916 times)

0 Members and 1 Guest are viewing this topic.

lafoniz

  • Newbie
  • *
  • Posts: 19
    • View Profile
System for writing text
« on: June 19, 2015, 11:27:17 am »
Hey guys, I'm wondering what would be the best way to implement system for writing text (so you can enter information directly using keyboard, same like in Microsoft Office Excel or any database typed programs), how to implement this kind of interaction with the program?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10998
    • View Profile
    • development blog
    • Email
Re: System for writing text
« Reply #1 on: June 19, 2015, 11:32:13 am »
Probably by using a sf::Font, a bunch of sf::Text and the sf::Event::TextEntered event.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/