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

Author Topic: text box  (Read 847 times)

0 Members and 1 Guest are viewing this topic.

mafiozy

  • Newbie
  • *
  • Posts: 3
    • View Profile
text box
« on: January 29, 2023, 02:46:32 pm »
Hello everyone. Is there a way to make textboxes in sfml like in html and css? Or there a way only like through making special class that includes box, how text text handling etc.?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: text box
« Reply #1 on: January 29, 2023, 05:10:23 pm »
SFML isn't a UI library, but there a few that were create and/or support SFML, e.g. TGUI or ImGui-SFML

Otherwise, you can handle the TextEntered event and draw some boxes and texts
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything