[x] Test if AsIfParented views work (AUv2 only) Skip testing AsIfParented for now, there is no viable way of creating AU plugins at the moment
[x] Does the NSApp need to be created before setting up the non-parented window and get passed into the WindowHandle for _app_runblocking? Probably, see rutabaga and cocoa docs
[x] remove keyboard event handling, that should be done in other pull request; however, keep acceptsFirstResponder code
[x] Setup tracking surface for drag to work outside of the window cursor entered and exited events.
[x] ask for first click to register, rutabaga does this
[x] clean up the class when window closes / view deallocates. Actually, check that dealloc function is called at all (nope). wrl suggests checking for backtraces in retain to see if they come from my code. Clean up should be done in release function, look in rutabaga. High refcounts in release (also retain?) mean that view doesn't get deallocated. This could all be due to lack of proper autoreleasepools. Check where they are used in rutabaga. ”yeah whenever you have an alloc you need to either
call autorelease on it and have an autoreleasepool in scope
Adds barebones handling of mouse down events on macOS (#51) with a lot of code from https://github.com/antonok-edm/vst_window. The open_window example works.
Possible problems that I can think of:
If this looks like something we could make use of, I can have a look at implementing other events as well.