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

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

0 Members and 1 Guest are viewing this topic.

Thrasher

  • Moderator
  • Jr. Member
  • *****
  • Posts: 57
    • 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.