Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== This Document == | == This Document == | ||
This proposal was written by Tim Omernick at Apple Computer, Inc. It has been formatted here by Josh Aas. | This proposal was written by Tim Omernick at Apple Computer, Inc., and it was posted to the plugin-futures mailing list. It has been formatted here by Josh Aas. | ||
== Overview == | == Overview == | ||
Line 26: | Line 26: | ||
#if defined(XP_MACOSX) && defined(__LP64__) | #if defined(XP_MACOSX) && defined(__LP64__) | ||
#define NP_NO_QUICKDRAW | |||
#endif | #endif | ||
Line 50: | Line 50: | ||
The value for the NPNVpluginDrawingModel is an NPDrawingModel, a new enumeration we're adding: | The value for the NPNVpluginDrawingModel is an NPDrawingModel, a new enumeration we're adding: | ||
#ifdef XP_MACOSX | #ifdef XP_MACOSX<br> | ||
/* The drawing model for a Mac OS X plugin. These are the possible values | /* The drawing model for a Mac OS X plugin. These are the possible values | ||
* for the NPNVpluginDrawingModel variable. | * for the NPNVpluginDrawingModel variable. | ||
*/ | */<br> | ||
typedef enum { | typedef enum { | ||
#ifndef NP_NO_QUICKDRAW | #ifndef NP_NO_QUICKDRAW | ||
NPDrawingModelQuickDraw = 0, | |||
#endif | #endif | ||
NPDrawingModelCoreGraphics = 1 | |||
} NPDrawingModel; | } NPDrawingModel;<br> | ||
#endif | #endif | ||