InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IControlViewDefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner:
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 // ADOBE CONFIDENTIAL
24 //
25 //========================================================================================
26 
27 #ifndef __IControlViewDefs_h__
28 
29 // ----- Frame binding options
30 
31 #define kBindNone 0x0000
32 #define kBindLeft 0x0001
33 #define kBindTop 0x0002
34 #define kBindRight 0x0004
35 #define kBindBottom 0x0008
36 
37 #define kBindNotSymetrize 0x1000
38 
39 #define kBindAll (kBindLeft | kBindTop | kBindRight | kBindBottom)
40 
41 #define kBindParentToChild 0x0010
42 
43 // Use following constants for defining icon container sizes in panels, esp at the bottom of panels.
44 #define kPanelIconWidth 26 // Changed from 30 as all icons will sufficiently fit in this width.
45 #define kPanelIconHeight 18
46 #define kControlStripIconWidth 24
47 #define kControlStripIconHeight 22
48 
49 
50 //Custom resizing directions. For resizable DIALOGS, these constants can be used in combination to control resizability. For more info, please check ICustomResizabilityAttributes interface and CustomResizabilityAttributes type definition in Widgets.fh
51 #define kNoneResizable 0x0000
52 #define kLeftResizable 0x0001
53 #define kRightResizable 0x0002
54 #define kTopResizable 0x0004
55 #define kBottomResizable 0x0008
56 
57 #endif // __IControlViewDefs_h__