InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TreeViewDefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Joss
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 __TreeViewDefs__
25 #define __TreeViewDefs__
26 
27 // ----- ITreeAttributes
28 
29 #define kHideRootNode 0x0000
30 #define kDisplayRootNode 0x0001
31 #define kDrawEndLine 0x0002
32 #define kDrawBorder 0x0004
33 
34 
35 // ----- PreDefined TreeView styles used in ITreeViewWidgetMgr
36 #define kInvalidTreeStyle -1
37 #define kNoTreeStyle 0
38 #define kSmallPaletteRowsTreeStyle 1
39 #define kLargePaletteRowsTreeStyle 2
40 #define kTouchPaletteRowsTreeStyle 3
41 //New tree node style for large list node in properties panel. The font of swatch name tends to become bigger after editing in popup hosted in properties panel.That was due to the fact that popup is actually a dialog and font in dialog is bigger than that in panel. To fix this, we introduced a new type of node which explicity sets the font of the swatch name in the node.
42 #define kPropertiesPanelLargePaletteRowsTreeStyle 4
43 
44 //----------------------------------------------------------------------------------------
45 // Resource ID of Tree View widgets
46 //----------------------------------------------------------------------------------------
47 #define kStandardLargeTreeNodeRsrcID 1000
48 #define kStandardSmallTreeNodeRsrcID 2000
49 #define kStandardStringListBoxTreeNodeRsrcID 3000
50 #define kStandardSmallStringListBoxTreeNodeRsrcID 3010
51 #define kStandardViewListBoxTreeNodeRsrcID 4000
52 
53 //----------------------------------------------------------------------------------------
54 // Column header attributes
55 //----------------------------------------------------------------------------------------
56 #define kDontAutoResize 10
57 #define kAutoResizeFirstColumn 11
58 #define kAutoResizeProportional 12
59 #define kColumnsNotUserResizable 13
60 
61 
62 #endif // __TreeViewDefs__