context menus, document refactoring, fixes

This commit is contained in:
2025-10-26 00:10:44 -04:00
parent 87c2db2a77
commit fe9366f9ef
62 changed files with 2138 additions and 793 deletions

View File

@@ -12,7 +12,7 @@ namespace anm2ed::toast
std::string message{};
float lifetime{};
Toast(const std::string& message);
Toast(const std::string&);
};
class Toasts
@@ -21,8 +21,9 @@ namespace anm2ed::toast
std::vector<Toast> toasts{};
void update();
void add(const std::string& message);
void add_error(const std::string& message);
void info(const std::string&);
void error(const std::string&);
void warning(const std::string&);
};
extern Toasts toasts;