| 6 | |
| 7 | namespace ed { |
| 8 | void NotificationSystem::Add(int id, const std::string& text, const std::string& buttonText, std::function<void(int, IPlugin1*)> fn, IPlugin1* owner) |
| 9 | { |
| 10 | m_notifs.push_back(Entry(id, text, buttonText, fn, owner)); |
| 11 | } |
| 12 | void NotificationSystem::Render() |
| 13 | { |
| 14 | const float DISTANCE = 15.0f; |