InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PicIcoID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Defines IDs used by the PicIco plug-in.
24 //
25 //========================================================================================
26 
27 #ifndef __PicIcoID_h__
28 #define __PicIcoID_h__
29 
30 #ifndef MAC_RESOURCE_INCLUDER
31 
32 #include "SDKDef.h"
33 // Company:
34 #define kPicIcoCompanyKey kSDKDefPlugInCompanyKey // Company name used internally for menu paths and the like. Must be globally unique, only A-Z, 0-9, space and "_".
35 #define kPicIcoCompanyValue kSDKDefPlugInCompanyValue // Company name displayed externally.
36 
37 // Plug-in:
38 #define kPicIcoPluginName "PictureIcon" // Name of this plug-in.
39 #define kPicIcoPrefixNumber 0x57210 // Unique prefix number for this plug-in(*Must* be obtained from Adobe Developer Support).
40 #define kPicIcoVersion kSDKDefPluginVersionString // Version of this plug-in (for the About Box).
41 #define kPicIcoAuthor "Adobe Developer Technologies" // Author of this plug-in (for the About Box).
42 
43 // Plug-in Prefix: (please change kPicIcoPrefixNumber above to modify the prefix.)
44 #define kPicIcoPrefix RezLong(kPicIcoPrefixNumber) // The unique numeric prefix for all object model IDs for this plug-in.
45 #define kPicIcoStringPrefix SDK_DEF_STRINGIZE(kPicIcoPrefixNumber) // The string equivalent of the unique prefix number for this plug-in.
46 
47 // PluginID:
48 
49 // ClassIDs:
50 
51 
52 // InterfaceIDs:
53 // None in this plug-in.
54 
55 // ImplementationIDs:
56 
57 // ActionIDs:
58 // WidgetIDs:
59 
60 // "About Plug-ins" sub-menu:
61 #define kPicIcoAboutMenuKey kPicIcoStringPrefix "kPicIcoAboutMenuKey"
62 #define kPicIcoAboutMenuPath kSDKDefStandardAboutMenuPath kPicIcoCompanyKey
63 
64 // "Plug-ins" sub-menu:
65 #define kPicIcoPluginsMenuKey kPicIcoStringPrefix "kPicIcoPluginsMenuKey"
66 #define kPicIcoPluginsMenuPath kSDKDefPlugInsStandardMenuPath kPicIcoCompanyKey kSDKDefDelimitMenuPath kPicIcoPluginsMenuKey
67 
68 // Menu item keys:
69 #define kPicIcoRotatePictureMenuItemKey kPicIcoStringPrefix "kPicIcoRotatePictureMenuItemKey"
70 #define kPicIcoRotateIconMenuItemKey kPicIcoStringPrefix "kPicIcoRotateIconMenuItemKey"
71 
72 // Other StringKeys:
73 #define kPicIcoAboutBoxStringKey kPicIcoStringPrefix "kPicIcoAboutBoxStringKey"
74 #define kPicIcoPanelTitleKey kPicIcoStringPrefix "kPicIcoPanelTitleKey"
75 #define kPicIcoStaticTextKey kPicIcoStringPrefix "kPicIcoStaticTextKey"
76 #define kPicIcoInternalPopupMenuNameKey kPicIcoStringPrefix "kPicIcoInternalPopupMenuNameKey"
77 #define kPicIcoTargetMenuPath kPicIcoInternalPopupMenuNameKey
78 #define kPicIcoMessageKey kPicIcoStringPrefix "kPicIcoMessageKey"
79 
80 
81 // Menu item positions:
82 #define kPicIcoRotatePictureMenuItemPosition 1.0
83 #define kPicIcoRotateIconMenuItemPosition 2.0
84 #define kPicIcoSeparator1MenuItemPosition 10.0
85 #define kPicIcoAboutThisMenuItemPosition 11.0
86 
87 #endif //MAC_RESOURCE_INCLUDER
88 
89 // For the platform resources
90 // bitmaps
91 
92 #define kPicIcoTopOutsidePictureRsrcID 101
93 #define kPicIcoTopInsidePictureRsrcID 102
94 #define kPicIcoBottomOutsidePictureRsrcID 103
95 #define kPicIcoBottomInsidePictureRsrcID 104
96 #define kPicIcoCenterVertPictureRsrcID 105
97 #define kPicIcoCenterHorzPictureRsrcID 106
98 #define kPicIcoCenterCompPictureRsrcID 107
99 #define kPicIcoFirstPictureRsrcID kPicIcoTopOutsidePictureRsrcID
100 #define kPicIcoLastPictureRsrcID kPicIcoCenterCompPictureRsrcID // See PicIco.rc, ...
101 
102 //Crossflatform icons. Reuse application icon
103 #define kPicIcoButCapIconRsrcID kStrokePanelButCapIconID
104 #define kPicIcoRoundCapIconRsrcID kStrokePanelRoundCapIconID
105 #define kPicIcoProjectingCapIconRsrcID kStrokePanelProjectingCapIconID
106 #define kPicIcoMiterJoinIconRsrcID kStrokePanelMiterJoinIconID
107 #define kPicIcoRoundedJoinIconRsrcID kStrokePanelRoundedJoinIconID
108 #define kPicIcoBevelJoinIconRsrcID kStrokePanelBevelJoinIconID
109 
110 // PNG specific IDs
111 #define kPicIcoPNGIconRsrcID 10250
112 #define kPicIcoPNGIconRollRsrcID 10250
113 
114 // Initial data format version numbers
115 #define kPicIcoFirstMajorFormatNumber kSDKDef_30_PersistMajorVersionNumber
116 #define kPicIcoFirstMinorFormatNumber kSDKDef_30_PersistMinorVersionNumber
117 
118 // Data format version numbers for the PluginVersion resource
119 #define kPicIcoCurrentMajorFormatNumber kPicIcoFirstMajorFormatNumber // most recent major format change
120 #define kPicIcoCurrentMinorFormatNumber kPicIcoFirstMinorFormatNumber // most recent minor format change
121 
122 #endif // __PicIcoID_h__
123 
124 // End, PicIcoID.h.
125 
126