AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 290 forks source link

Added ability to import via dialog in Project View #702

Closed megabytefisher closed 5 years ago

megabytefisher commented 5 years ago

Summary

This PR adds the ability to import files via the system file selection dialog via the Project View. It adds a context menu item and a toolbar button that will trigger the dialog. The selected files are imported to the selected folder in the project.

This feature is intended to fulfill request #513

Notes

The file page_white_put.png is used as the toolbar icon. It is from the famfamfam icon set.

The file ProjectFolderView.cs used tabs for alignment already, so I used that to comply with the rest of the file. I think another commit should replace the entire file's tabs.

Screenshot

Screenshot

Let me know if there are any issues.

megabytefisher commented 5 years ago

Alright, I've added a title. Let me know if there needs to be any other changes.

ilexp commented 5 years ago

Thanks @deanljohnson for reviewing, and PR looks good overall too 👍 Haven't found the time for a proper second-level review yet, but will get back to you as soon as I manage.

ilexp commented 5 years ago

Merged and pushed to release. Should be out there in about 20 minutes.