InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ColorPickerID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: SusanCL
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 
24 #ifndef __ColorPickerID__
25 #define __ColorPickerID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 
30 #define kColorPickerPrefix RezLong(0x7200) // Registered in DeveloperPrefix.h
31 
32 // <Start IDC>
33 // PluginID
34 #define kColorPickerPluginName "Color Picker Panel"
35 
36 // <Class ID>
37 // ---------------------------------------------------------------
38 // Class IDs
39 // ---------------------------------------------------------------
40 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 //gap
51 
52 
53 
54 
55 
56 //gap
57 
58 
59 //kHsbColorPopupWidgetBos
60 // <Interface ID>
61 // ---------------------------------------------------------------
62 // Interface IDs
63 // ---------------------------------------------------------------
64 
65 // This interface has been combined with IID_ICOLORPICKERPANELMODKEYSTATEDATA
66 // Changed for Sherpa to implement shift-click
67 
68 // This data interface stores a mod key state and also keeps track for the global swatch
69 // associated with color definition changes due to shift-click
70 // Key state for the ColorPicker panel is stored as an int32.
71 // We save modifier key state only if they are relevant to the panel's observers.
72 // Starting with the lowest bit position:
73 // bit 0 = 1 if shift key pressed when mouse down
74 // bit 1 = 1 if command key pressed when mouse down
75 // bit 2 = 1 if alt/option key pressed when mouse down
76 // The data includes:
77 // boolean to indicate whether it starts with a global swatch
78 // UID of the global swatch
79 // Tint% of the global swatch if swatch was a base color
80 
81 
82 // ---------------------------------------------------------------
83 // Helper message protocols
84 // ---------------------------------------------------------------
85 
86 
87 
88 // <Implementation ID>
89 // ---------------------------------------------------------------
90 // Implementation IDs
91 // ---------------------------------------------------------------
92 
93 
94 //gap
95 
96 
97 // Color Picker panel service providers
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 
109 
110 
111 
112 
113 
114 //gap
115 //gap
116 
117 
118 // <Widget ID>
119 // ---------------------------------------------------------------
120 // Widget IDs
121 // ---------------------------------------------------------------
122 
123 // These widget ID groups need to be contiguous within each group
124 
125 
126 
127 
128 
129 
130 
131 
132 
133 
134 
135 
136 
137 
138 
139 
140 
141 
142 
143 
144 
145 //gap
146 
147 
148 // Common Color Picker
149 
150 
151 
152 
153 
154 
155 
156 
157 
158 
159 
160 
161 
162 
163 
164 
165 
166 
167 
168 
169 // <Message ID>
170 // ---------------------------------------------------------------
171 // Messages
172 // ---------------------------------------------------------------
173 
174 // <Service ID>
175 // ---------------------------------------------------------------
176 // Services
177 // ---------------------------------------------------------------
178 
179 
180 // <Action ID>
181 //gap - reserved for dynamic menu actions
182 
183 //Action ID/s for Gradient option flyout in color popup.
184 //gap - reserved for dynamic menu actions
185 
186 #endif