MCPcopy Create free account
hub / github.com/dfranx/SHADERed / Add

Method Add

src/SHADERed/UI/Tools/NotificationSystem.cpp:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7namespace 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;

Callers

nothing calls this directly

Calls 2

EntryClass · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected