Add copy to toast notification

This commit is contained in:
Jayden Sipe 2024-11-02 00:02:36 -04:00
parent 893bbdfde8
commit 81a7a2c50c
2 changed files with 17 additions and 1 deletions

View file

@ -75,6 +75,7 @@ private:
bool popped = false;
// Buttons
Button *copy_button = nullptr;
Button *close_button = nullptr;
// Messages
@ -117,6 +118,7 @@ public:
void popup_str(const String &p_message, Severity p_severity = SEVERITY_INFO, const String &p_tooltip = String());
void close(Control *p_control);
void instant_close(Control *p_control);
void copy(Control *p_control);
EditorToaster();
~EditorToaster();