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

Author Topic: Menu, imput field creation [Linux]  (Read 2093 times)

0 Members and 1 Guest are viewing this topic.

Wolcheara

  • Newbie
  • *
  • Posts: 1
    • View Profile
Menu, imput field creation [Linux]
« on: May 23, 2022, 12:55:30 am »
Hey, I am doing a Mineswepeer game. And I would like to add a game mode, where user could set his own number of sqares. But I could not find any functions, which could create an imput field and also function for reading information from inmput field. So, I would glad, if someone would help me.

Thank for your attention

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Menu, imput field creation [Linux]
« Reply #1 on: May 23, 2022, 09:05:33 am »
SFML isn't a UI framework, so you'll either have to pick any of the available UI libraries that work with SFML or write your own with sf::Text and sf::Event::TextEntered
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/