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

Author Topic: sf::Font Change & sf::Text Notification  (Read 20692 times)

0 Members and 1 Guest are viewing this topic.

Thrasher

  • Moderator
  • Jr. Member
  • *****
  • Posts: 54
    • View Profile
Re: sf::Font Change & sf::Text Notification
« Reply #45 on: October 05, 2022, 01:25:20 am »
void sf::Font::onUpdate(const std::function<void(your-args-here)>&) is a compelling interface option to me. std::function provides all the utilities we need to easily implement this. I'm not convinced we need to support an arbitrary number of callables, at least not initially.

 

anything