jdwije / qemacs

A fast and lightweight emacs.
GNU Lesser General Public License v2.1
15 stars 2 forks source link

Fully porting X GUI to a native OSX Framework #9

Open jdwije opened 9 years ago

jdwije commented 9 years ago

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).

jdwije commented 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

jdwije commented 9 years ago

also relevant: http://www.cocoawithlove.com/2010/09/minimalist-cocoa-programming.html

Update

Ended up pretty much following the method outlined above. The display driver is working! It just needs to have its method implementations fleshed out.

jdwije commented 9 years ago

all important

https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40003290

jdwije commented 9 years ago

http://stackoverflow.com/questions/2997333/creating-a-cocoa-application-without-nib-files