Subversion Repositories filter_foundry

Rev

Rev 102 | Rev 111 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 toby 1
/*
18 toby 2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
2 toby 3
    Copyright (C) 2003-5 Toby Thain, toby@telegraphics.com.au
4
 
5
    This program is free software; you can redistribute it and/or modify
106 dmarschall 6
    it under the terms of the GNU General Public License as published by
2 toby 7
    the Free Software Foundation; either version 2 of the License, or
8
    (at your option) any later version.
9
 
10
    This program is distributed in the hope that it will be useful,
11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
    GNU General Public License for more details.
14
 
106 dmarschall 15
    You should have received a copy of the GNU General Public License
2 toby 16
    along with this program; if not, write to the Free Software
17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
*/
19
 
20
#include "PIResDefines.h"
21
#include "PIActions.h"
22
 
23
#include "ui.h"
24
#include "version.h"
25
 
26
#define LC(a,b,c,d)		#d, #c, #b, #a
27
 
28
#define VENDORID LC(8,B,I,M)
29
#define NULLID 0L
30
 
31
/* LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL */
32
 
33
16000  PiPL  DISCARDABLE
34
BEGIN
35
	0x0001, 		/* Reserved (for Photoshop) */
36
	0L, 			/* kCurrentPiPLVersion */
37
	8L, 			/* Property Count */
106 dmarschall 38
 
2 toby 39
	VENDORID, LC(c,a,t,g), NULLID, 13L, "\014Telegraphics\0\0\0", /* PString */
40
	VENDORID, LC(n,a,m,e), NULLID, 18L, "\021Filter Foundry...\0\0", /* PString */
41
#include "PiPL_body.rc"
106 dmarschall 42
 
2 toby 43
END
44
 
45
16000  RCDATA  DISCARDABLE
46
BEGIN
47
	0x0001, 		/* Reserved (for Photoshop) */
48
	0L, 			/* kCurrentPiPLVersion */
97 toby 49
	6L, 			/* Property Count */
106 dmarschall 50
 
2 toby 51
#include "PiPL_body.rc"
106 dmarschall 52
 
2 toby 53
END
54
 
55
/*	Dictionary (scripting) resource */
56
/* also see ui.h */
57
 
58
/*
59
#define NO_REPLY		\
60
	noReply,			\
61
	"",					\
62
	replyRequired,	singleItem,	notEnumerated,	notTightBindingFunction,	\
63
	reserved,		reserved,	reserved,		reserved,					\
64
	reserved,		reserved,	reserved,		reserved,					\
65
	verbEvent,		reserved,	reserved,		reserved
66
#define IMAGE_DIRECT_PARAMETER	\
67
	typeImageReference,			\
68
	"",							\
69
	flagsOptionalEnumeratedChangesDirect
70
#define flagsOptionalEnumeratedChangesDirect	\
71
	directParamOptional,	singleItem,	enumerated,	changesState,	\
72
	reserved,				reserved,	reserved,	reserved,		\
73
	reserved,				reserved,	reserved,	reserved,		\
74
	reserved,				reserved,	reserved,	reserved
75
#define flagsSingleParameter					\
76
	required,			singleItem,		notEnumerated,	reserved,	\
77
	reserved,			reserved,		reserved,		reserved,	\
78
	reserved,			reserved,		reserved,		reserved,	\
79
	prepositionParam,	notFeminine,	notMasculine,	singular
80
#define flagsSingleProperty						\
81
	reserved,			singleItem,		notEnumerated,	readWrite,	\
82
	reserved,			reserved,		reserved,		reserved,	\
83
	reserved,			reserved,		reserved,		reserved,	\
84
	noApostrophe,		notFeminine,	notMasculine,	singular
85
*/
86
#define RC_NO_REPLY \
87
	LC(n,u,l,l),	/*noReply*/ \
88
	"\0", \
89
	"\000\000"		/* 00 000 000|00 000 000 */
90
#define RC_IMAGE_DIRECT_PARAM \
102 toby 91
	LC('#',I,m,R),	/*typeImageReference*/ \
2 toby 92
	"\0", \
93
	"\260\000"		/* 10 110 000|00 000 000 */
106 dmarschall 94
 
2 toby 95
#define FLAGS_SINGLE_PROP	"\020\000" /* 00 010 000|00 000 000 */
96
#define FLAGS_1_OPT_PARAM	"\200\000" /* 10 000 000|00 000 000 */
97
 
98
#define RC_typeChar			LC(T,E,X,T)
99
#define RC_typeInteger		LC(l,o,n,g)
100
 
101
/* Nota Bene: UNLIKE the Macintosh format of the 'aete' resource,
102
   the Windows resource does NOT have word alignment constraints
103
   after its embedded strings. */
104
 
105
AETE_ID aete
106
{
107
	0x0001, 		/* Reserved (for Photoshop) */
108
 
109
	"\1\0", english, roman,				/* aete version and language specifiers */
110
 
111
	1, /*suites*/
112
		"\014Telegraphics",				/* vendor suite name */
113
		"\0",							/* optional description */
114
		LC(t,E,L,E),					/* suite ID */
115
		1,								/* suite code, must be 1 */
116
		1,								/* suite level, must be 1 */
117
 
118
		1, /*events*/					/* structure for filters */
119
 
62 toby 120
			"\015FilterFoundry",		/* event name               */
121
			"\0",						/* event description        */
122
			LC(f,i,F,o),				/* event class              */
123
			LC(f,i,F,o),				/* event ID                 */
2 toby 124
			RC_NO_REPLY,
125
			RC_IMAGE_DIRECT_PARAM,
126
			12,
127
				"\001R", LC(x,p,r,R), RC_typeChar, "\024R channel expression", FLAGS_1_OPT_PARAM,
128
				"\001G", LC(x,p,r,G), RC_typeChar, "\024G channel expression", FLAGS_1_OPT_PARAM,
129
				"\001B", LC(x,p,r,B), RC_typeChar, "\024B channel expression", FLAGS_1_OPT_PARAM,
130
				"\001A", LC(x,p,r,A), RC_typeChar, "\024A channel expression", FLAGS_1_OPT_PARAM,
131
				"\004ctl0", LC(c,T,l,0), RC_typeInteger, "\016ctl(0) setting", FLAGS_1_OPT_PARAM,
132
				"\004ctl1", LC(c,T,l,1), RC_typeInteger, "\016ctl(1) setting", FLAGS_1_OPT_PARAM,
133
				"\004ctl2", LC(c,T,l,2), RC_typeInteger, "\016ctl(2) setting", FLAGS_1_OPT_PARAM,
134
				"\004ctl3", LC(c,T,l,3), RC_typeInteger, "\016ctl(3) setting", FLAGS_1_OPT_PARAM,
135
				"\004ctl4", LC(c,T,l,4), RC_typeInteger, "\016ctl(4) setting", FLAGS_1_OPT_PARAM,
136
				"\004ctl5", LC(c,T,l,5), RC_typeInteger, "\016ctl(5) setting", FLAGS_1_OPT_PARAM,
137
				"\004ctl6", LC(c,T,l,6), RC_typeInteger, "\016ctl(6) setting", FLAGS_1_OPT_PARAM,
138
				"\004ctl7", LC(c,T,l,7), RC_typeInteger, "\016ctl(7) setting", FLAGS_1_OPT_PARAM,
139
 
140
		0, /*classes*/					/* non-filter plug-in class here */
141
 
142
		0, /* comparison ops (not supported) */
143
 
144
		0, /* any enumerations */
145
 
146
	0L /* padding */
147
}
148
 
149
/* Version info resource
150
   see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_Tools_VERSIONINFO_Resource.asp
151
   and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/versioninfo_resource.asp */
152
 
153
#include "winver.h"
154
 
155
VS_VERSION_INFO VERSIONINFO
156
 FILEVERSION	VI_VERS_NUM
157
 PRODUCTVERSION	VI_VERS_NUM
158
 FILEFLAGSMASK	0x3fL
159
 FILEFLAGS		VI_FLAGS
160
 FILEOS			VOS__WINDOWS32
161
 FILETYPE		VFT_DLL
162
 FILESUBTYPE	VFT2_UNKNOWN
163
BEGIN
164
    BLOCK "StringFileInfo"
165
    BEGIN
166
        BLOCK "04090000"
167
        BEGIN
168
            VALUE "Comments",			VI_COMMENTS
169
            VALUE "CompanyName",		"Telegraphics Pty Ltd, www.telegraphics.com.au\0"
170
            VALUE "FileDescription",	"Filter Foundry plugin for Photoshop(R)\0"
171
            VALUE "FileVersion",		VERSION_STR "\0"
62 toby 172
            /*VALUE "InternalName",		"FilterFoundry\0"*/
102 toby 173
            VALUE "LegalCopyright",		"Copyright (C) 2003-9 Toby Thain\0"
2 toby 174
            VALUE "License",			"This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\0"
175
            /*VALUE "LegalTrademarks",	"\0"*/
106 dmarschall 176
            VALUE "OriginalFilename",	"FilterFoundry.8bf\0"
2 toby 177
            /*VALUE "PrivateBuild",		"\0"*/
178
            VALUE "ProductName",		"Filter Foundry\0"
179
            VALUE "ProductVersion",		VERSION_STR "\0"
180
            /*VALUE "SpecialBuild",		"\0"*/
181
        END
182
    END
183
    BLOCK "VarFileInfo" /* see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_tools_VarFileInfo_Block.asp */
184
    BEGIN
185
        VALUE "Translation", 0x0809, 1200	/* UK English, Unicode */
186
    END
187
END