Subversion Repositories filter_foundry

Rev

Rev 210 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 210 Rev 259
1
/*
1
/*
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
2
    This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au
3
    Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au
4
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
4
    Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
5
 
5
 
6
    This program is free software; you can redistribute it and/or modify
6
    This program is free software; you can redistribute it and/or modify
7
    it under the terms of the GNU General Public License as published by  
7
    it under the terms of the GNU General Public License as published by  
8
    the Free Software Foundation; either version 2 of the License, or
8
    the Free Software Foundation; either version 2 of the License, or
9
    (at your option) any later version.
9
    (at your option) any later version.
10
 
10
 
11
    This program is distributed in the hope that it will be useful,
11
    This program is distributed in the hope that it will be useful,
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
    GNU General Public License for more details.
14
    GNU General Public License for more details.
15
 
15
 
16
    You should have received a copy of the GNU General Public License  
16
    You should have received a copy of the GNU General Public License  
17
    along with this program; if not, write to the Free Software
17
    along with this program; if not, write to the Free Software
18
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
*/
19
*/
20
 
20
 
21
//#include "AEUserTermTypes.r"
21
//#include "AEUserTermTypes.r"
22
 
22
 
23
#define MSWindows 0
23
#define MSWindows 0
24
#include "PIActions.h"
24
#include "PIActions.h"
25
#include "PITerminology.h"
25
#include "PITerminology.h"
26
 
26
 
27
#include "ui.h"
27
#include "ui.h"
28
#include "version.h"
28
#include "version.h"
29
 
29
 
30
//-------------------------------------------------------------------------------
30
//-------------------------------------------------------------------------------
31
//	Dictionary (scripting) resource
31
//	Dictionary (scripting) resource
32
//-------------------------------------------------------------------------------
32
//-------------------------------------------------------------------------------
33
 
33
 
34
resource 'aete' (AETE_ID, "FilterFoundry scripting dictionary", purgeable)
34
resource 'aete' (AETE_ID, "FilterFoundry scripting dictionary", purgeable)
35
{
35
{
36
	/* Attention: If you change something here, please also change it in Scripting.rc (Windows) and make.c */
36
	/* Attention: If you change something here, please also change it in Scripting.rc (Windows) and make.c */
37
	
37
	
38
	1, 0, english, roman,				/* aete version and language specifiers */
38
	1, 0, english, roman,				/* aete version and language specifiers */
39
	{
39
	{
40
		vendorName,						/* vendor suite name */
40
		vendorName,						/* vendor suite name */
41
		"custom filter creator, compatible with Adobe Filter Factory", /* optional description */
41
		"custom filter creator, compatible with Adobe Filter Factory", /* optional description */
42
		plugInSuiteID,					/* suite ID */
42
		plugInSuiteID,					/* suite ID */
43
		1,								/* suite level, must be 1 */
43
		1,								/* suite level, must be 1 */
44
		1,								/* suite version, must be 1 */
44
		1,								/* suite version, must be 1 */
45
		{	/* structure for filters */
45
		{	/* structure for filters */
46
			plugInName,					/* unique filter name */
46
			plugInName,					/* unique filter name */
47
			"",							/* optional description */
47
			"",							/* optional description */
48
			plugInClassID,				/* event class ID, must be eventFilter='Fltr' */
48
			plugInClassID,				/* event class ID, must be eventFilter='Fltr' */
49
			plugInEventID,				/* event ID, must be unique to class ID */
49
			plugInEventID,				/* event ID, must be unique to class ID */
50
			
50
			
51
			NO_REPLY,					/* never a reply */
51
			NO_REPLY,					/* never a reply */
52
			IMAGE_DIRECT_PARAMETER,		/* direct parameter, used by Photoshop */
52
			IMAGE_DIRECT_PARAMETER,		/* direct parameter, used by Photoshop */
53
			{	/* parameters here, if any */
53
			{	/* parameters here, if any */
54
				/* Attention: AETE keys (xpr#, cTl#) must be equal in scripting.r, scripting.rc and scripting.c(getAeteKey)! */
54
				/* Attention: AETE keys (xpr#, cTl#) must be equal in scripting.r, scripting.rc and scripting.c(getAeteKey)! */
55
				"R", 'xprR', typeChar, "R channel expression", flagsOptionalSingleParameter,
55
				"R", 'xprR', typeChar, "R channel expression", flagsOptionalSingleParameter,
56
				"G", 'xprG', typeChar, "G channel expression", flagsOptionalSingleParameter,
56
				"G", 'xprG', typeChar, "G channel expression", flagsOptionalSingleParameter,
57
				"B", 'xprB', typeChar, "B channel expression", flagsOptionalSingleParameter,
57
				"B", 'xprB', typeChar, "B channel expression", flagsOptionalSingleParameter,
58
				"A", 'xprA', typeChar, "A channel expression", flagsOptionalSingleParameter,
58
				"A", 'xprA', typeChar, "A channel expression", flagsOptionalSingleParameter,
59
				"ctl0", 'cTl0', typeInteger, "ctl(0) setting", flagsOptionalSingleParameter,
59
				"ctl0", 'cTl0', typeInteger, "ctl(0) setting", flagsOptionalSingleParameter,
60
				"ctl1", 'cTl1', typeInteger, "ctl(1) setting", flagsOptionalSingleParameter,
60
				"ctl1", 'cTl1', typeInteger, "ctl(1) setting", flagsOptionalSingleParameter,
61
				"ctl2", 'cTl2', typeInteger, "ctl(2) setting", flagsOptionalSingleParameter,
61
				"ctl2", 'cTl2', typeInteger, "ctl(2) setting", flagsOptionalSingleParameter,
62
				"ctl3", 'cTl3', typeInteger, "ctl(3) setting", flagsOptionalSingleParameter,
62
				"ctl3", 'cTl3', typeInteger, "ctl(3) setting", flagsOptionalSingleParameter,
63
				"ctl4", 'cTl4', typeInteger, "ctl(4) setting", flagsOptionalSingleParameter,
63
				"ctl4", 'cTl4', typeInteger, "ctl(4) setting", flagsOptionalSingleParameter,
64
				"ctl5", 'cTl5', typeInteger, "ctl(5) setting", flagsOptionalSingleParameter,
64
				"ctl5", 'cTl5', typeInteger, "ctl(5) setting", flagsOptionalSingleParameter,
65
				"ctl6", 'cTl6', typeInteger, "ctl(6) setting", flagsOptionalSingleParameter,
65
				"ctl6", 'cTl6', typeInteger, "ctl(6) setting", flagsOptionalSingleParameter,
66
				"ctl7", 'cTl7', typeInteger, "ctl(7) setting", flagsOptionalSingleParameter,
66
				"ctl7", 'cTl7', typeInteger, "ctl(7) setting", flagsOptionalSingleParameter,
67
			}
67
			}
68
		},
68
		},
69
		{ },
69
		{ },
70
		{ },
70
		{ },
71
		{ }
71
		{ }
72
	}
72
	}
73
};
73
};