Open jdwije opened 9 years ago
worth reading regarding linking c in cocoa apps. cocoa is the way i will go with this for sure.
http://stackoverflow.com/questions/17404503/how-to-properly-wrap-a-c-library-in-a-cocoa-application
also relevant: http://www.cocoawithlove.com/2010/09/minimalist-cocoa-programming.html
Ended up pretty much following the method outlined above. The display driver is working! It just needs to have its method implementations fleshed out.
I'm not too sure on the complexity of this. However the process is somewhat outlined here,
https://developer.apple.com/library/mac/documentation/Porting/Conceptual/PortingUnix/environments/environments.html#//apple_ref/doc/uid/TP40002852-TPXREF134
I think going for the native experience is best for OSX. This allows full screen apps and better integration with the host OS in general (keyboard shortcuts etc).