mirror of https://github.com/mpv-player/mpv
c2eca2e4b7
This allows mpv's view to take key and send events to mpv's core. To set key status correctly, clients must call -[NSWindow selectNextKeyView:] during reconfig on the main thread. All is 'documented' in the cocoabasic example. If someone knows a better way to handle giving key to the embedded view, let me know! |
||
---|---|---|
.. | ||
events_view.h | ||
events_view.m | ||
mpvadapter.h | ||
video_view.h | ||
video_view.m | ||
window.h | ||
window.m |