[Gtk-osx-devs] ige-mac-integration cocoa
- From: Anders F Björklund <afb users sourceforge net>
- To: GTK+-2 OSX Devs <gtk-osx-devs lists sourceforge net>
- Subject: [Gtk-osx-devs] ige-mac-integration cocoa
- Date: Tue, 20 Oct 2009 17:52:07 +0200
I've patched most of ige-mac-integration to be able to
switch between Carbon (default) and Cocoa (for 64-bit):
+#include <ApplicationServices/ApplicationServices.h>
+#ifdef USE_CARBON
#include <Carbon/Carbon.h>
+#endif
+#ifdef USE_COCOA
+#import <Cocoa/Cocoa.h>
+#endif
Need some more work on the menus (dock/image works OK),
then I'll push the code up to http://github.com/afb/ ...
--anders
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]