Subversion Repositories filter_foundry

Rev

Rev 472 | Rev 514 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 472 Rev 513
Line 22... Line 22...
22
// The PiPL_body contains the properties which are added to PIPL and TPLT (PIPL-Template).
22
// The PiPL_body contains the properties which are added to PIPL and TPLT (PIPL-Template).
23
// PIPL will additionally receive name, catg and hstm
23
// PIPL will additionally receive name, catg and hstm
24
// Attention: This file may only contain 5 properties. If this number changes,
24
// Attention: This file may only contain 5 properties. If this number changes,
25
//            please also change PiPL.rc
25
//            please also change PiPL.rc
26
 
26
 
27
VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,F,M),	/* Filter module */
27
/* Filter module */
28
VENDORID, LC(v,e,r,s), NULLID, 4L, latestFilterSubVersion,latestFilterVersion, /* Version Number */
28
VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,F,M),
29
 
29
 
-
 
30
/* Version Number */
-
 
31
VENDORID, LC(v,e,r,s), NULLID, 4L, latestFilterSubVersion, latestFilterVersion,
-
 
32
 
-
 
33
 
-
 
34
 
-
 
35
#define doesSupportsBitmap         flagSupportsBitmap
-
 
36
#define doesSupportsGrayScale      flagSupportsGrayScale
-
 
37
#define doesSupportsIndexedColor   flagSupportsIndexedColor
-
 
38
#define doesSupportsRGBColor       flagSupportsRGBColor
-
 
39
#define doesSupportsCMYKColor      flagSupportsCMYKColor
-
 
40
#define doesSupportsHSLColor       flagSupportsHSLColor
-
 
41
#define doesSupportsHSBColor       flagSupportsHSBColor
-
 
42
#define doesSupportsMultichannel   flagSupportsMultichannel
-
 
43
#define doesSupportsDuotone        32768 // (flagSupportsDuotone << 8)    RC doesn't know <<8, nor *256 !
-
 
44
#define doesSupportsLABColor       16384 // (flagSupportsLABColor << 8)   RC doesn't know <<8, nor *256 !
-
 
45
 
-
 
46
/* Supported modes */
-
 
47
/* Second byte:    */
30
VENDORID, LC(m,o,d,e), NULLID, 4L, /* first 2 bytes:  */ flagSupportsGrayScale|flagSupportsIndexedColor|flagSupportsRGBColor|flagSupportsCMYKColor|flagSupportsHSLColor|flagSupportsHSBColor|flagSupportsMultichannel,
48
VENDORID, LC(m,o,d,e), NULLID, 4L, /* First byte:     */ /*doesSupportsBitmap|*/
-
 
49
                                                         doesSupportsGrayScale|
-
 
50
                                                         doesSupportsIndexedColor|
-
 
51
                                                         doesSupportsRGBColor|
-
 
52
                                                         doesSupportsCMYKColor|
-
 
53
                                                         doesSupportsHSLColor|
-
 
54
                                                         doesSupportsHSBColor|
-
 
55
                                                         doesSupportsMultichannel|
31
                                   /* second 2 bytes: */ flagSupportsDuotone|flagSupportsLABColor,
56
                                   /* Second byte: */    doesSupportsDuotone|
-
 
57
                                                         doesSupportsLABColor,
-
 
58
                                                         /* 3rd & 4th byte: */ 0,
32
 
59
 
33
/* We need this to enable the plugin for BigDocuments */
60
/* We need this to enable the plugin for BigDocuments */
34
VENDORID, LC(m,s,3,2), 0L, 8L, 2000000L, 2000000L,
61
VENDORID, LC(m,s,3,2), NULLID, 8L, 2000000L, 2000000L,
-
 
62
 
-
 
63
/* Required host ('    ' = any) */
-
 
64
/* Commented out, because there is a risk that a badly programmed host will think that '    '!='8BIM' and doesn't load the plugin then?!*/
-
 
65
//VENDORID, LC(h,o,s,t), NULLID, 4L, 0x20202020L,
-
 
66
 
-
 
67
/* "FilterLayerSupport" (Allows smart filters) */
-
 
68
/* TODO: It seems to work, but are we really fully supporting Smart Filters?! */
-
 
69
VENDORID, LC(f,l,l,y), NULLID, 4L, 0x80L,
-
 
70
 
-
 
71
/* Enable info */
-
 
72
VENDORID, LC(e,n,b,l), NULLID, 4L, 134L, "in (PSHOP_ImageMode, GrayScaleMode, IndexedColorMode, RGBMode, CMYKMode, HSLMode, HSBMode, MultichannelMode, DuotoneMode, LabMode)\0\0\0\0"
-
 
73
 
-
 
74
/* "Component". Values taken from Clouds.8BF */
-
 
75
/* TODO: What is this? Commented out to be sure */
-
 
76
//VENDORID, LC(c,m,p,t), NULLID, 4L, 18L, 0x00170301L, "FilterFoundry\0"
35
 
77
 
-
 
78
/* MonitorScalingAware */
-
 
79
/* TODO: Do we support it? For now, commented out */
-
 
80
//VENDORID, LC(p,m,s,a), NULLID, 4L, 1L,
36
 
81
 
37
/* FilterCaseInfo - in all cases:
82
/* FilterCaseInfo - in all cases:
38
	   inStraightData,
83
	   inStraightData,
39
	   outStraightData,
84
	   outStraightData,
40
	   doNotWriteOutsideSelection,
85
	   doNotWriteOutsideSelection,