From 064e6b53faec08a67075dd0f97303f5365d4e79b Mon Sep 17 00:00:00 2001 From: scuri Date: Mon, 25 Apr 2011 18:26:50 +0000 Subject: *** empty log message *** --- include/cd_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/cd_private.h') diff --git a/include/cd_private.h b/include/cd_private.h index 672d23c..92d378b 100644 --- a/include/cd_private.h +++ b/include/cd_private.h @@ -68,8 +68,7 @@ struct _cdImage struct _cdContext { unsigned long caps; /* canvas capabilities, combination of CD_CAP_* */ - int plus; /* indicates if the context is a context plus */ - int type; /* context type WINDOW, DEVICE, IMAGE or FILE */ + int type; /* context type WINDOW, DEVICE, IMAGE or FILE, combined with PLUS */ /* can NOT be NULL */ void (*cxCreateCanvas)(cdCanvas* canvas, void *data); @@ -264,7 +263,8 @@ void wdSetDefaults(cdCanvas* canvas); void cdInitContextPlusList(cdContext* ctx_list[]); cdContext* cdGetContextPlus(int ctx); enum{CD_CTXPLUS_NATIVEWINDOW, CD_CTXPLUS_IMAGE, CD_CTXPLUS_DBUFFER, CD_CTXPLUS_PRINTER, CD_CTXPLUS_EMF, CD_CTXPLUS_CLIPBOARD}; -#define NUM_CONTEXTPLUS 6 +#define CD_CTXPLUS_COUNT 6 +#define CD_CTX_PLUS 0xFF00 /* to combine with context type */ /*************/ /* utilities */ -- cgit v1.2.3