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

Author Topic: sf::Text constructor  (Read 2333 times)

0 Members and 1 Guest are viewing this topic.

natchos

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
sf::Text constructor
« on: September 04, 2012, 09:08:34 am »
I was just wondering whether it was possible to get a sf::Text constructor which does not require a string upon creation, or could you perhaps have the sf::string& string, changed to a default empty parameter(so that it would be the programmers choice if he want's to initialize a sf::text object with a string).

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: sf::Text constructor
« Reply #1 on: September 04, 2012, 09:17:34 am »
There is such a constructor, mainly the default constructor. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/