staging some future refactoring, .h -> hpp, fix for rendering w/ audio

This commit is contained in:
shweet committed 2026-03-09 23:08:57 -04:00
1 parent 77f6e65b15
commit 2d27b7e8fb
76 files changed

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
#pragma once
#include <string>
#include <vector>
namespace anm2ed::imgui
{
class Toast
{
public:
std::string message{};
float lifetime{};
Toast(const std::string&);
};
class Toasts
{
public:
std::vector<Toast> toasts{};
void update();
void push(const std::string&);
};
}
extern anm2ed::imgui::Toasts toasts;