Add file drop functionality
Adds the ability to drag and drop files from windows in order to attempt to execute them
This commit is contained in:
@@ -213,6 +213,11 @@ void Window::OnPaint(UIEvent* e) {
|
||||
}
|
||||
}
|
||||
|
||||
void Window::OnFileDrop(FileDropEvent* e) {
|
||||
on_file_drop(e);
|
||||
ForEachListener([e](auto listener) { listener->OnFileDrop(e); });
|
||||
}
|
||||
|
||||
void Window::OnVisible(UIEvent* e) {
|
||||
ForEachListener([e](auto listener) { listener->OnVisible(e); });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user