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