InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IconStyleDefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Burbidge
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 __IconStyleDefs_h__
25 #define __IconStyleDefs_h__
26 
27 const PMReal kPopoutCellHeight = 22; // Height of tool flyout
28 const PMReal kSelectionProxyWidth = 16; // Width of selection proxy for current tool on tool flyout
29 
30 const int32 kIconCentering = 0x00; // Use to center the icon within its frame (default).
31 const int32 kIconNoCentering = 0x01; // Use to draw the icon as is within its frame
32 const int32 kIconHorizontalCentering = 0x02; // Use to draw the icon horizontally centered in its frame
33 const int32 kIconVerticalCentering = 0x04; // Use to draw the icon vertically centered in its frame
34 
35 const int32 kIconRaisedLook = 0x00; // Use to draw icon with raised look
36 const int32 kIconFlushLook = 0x01; // Use to draw icon with flush look
37 const int32 kIconBorderedLook = 0x02; // Use to draw icon with a border look (can be bit or'd with other look flags)
38 const int32 kIconWellLook = 0x04; // Use to draw icon with a bevel well look (can be bit or'd with other look flags)
39 
40 // // WidgetID, RsrcID used by the tree control Icon.
41 #define kNoWidgetResource 0,0
42 #define kNoAssociatedWidgetShortcutControl 0
43 
44 #define kADBEIconSuiteButtonType kIconCentering, kIconRaisedLook, kFalse
45 #define kADBEIconSuiteButtonDrawWellType kIconCentering, (kIconRaisedLook | kIconWellLook), kTrue
46 #define kADBEIconSuiteButtonBorderedType kIconCentering, (kIconRaisedLook | kIconBorderedLook), kFalse
47 #define kStyledIconSuiteFlushedButtonType kIconCentering, kIconFlushLook, kFalse
48 #define kADBEIconSuiteButtonNoCenteringType kIconNoCentering, kIconRaisedLook, kFalse
49 #define kStyledIconHorizontalCenteringButtonFlushedType kIconHorizontalCentering, kIconFlushLook, kFalse
50 
51 /*
52 
53 #define kADBEIconSuiteFlushButtonType kADBEIconSuiteButtonView, kIconCentering, kIconFlushLook, kNoWidgetResource, kNoAssociatedWidgetShortcutControl //in AlignPanel
54 #define kIconSuiteButtonType kIconSuiteButtonView, kIconCentering, kIconRaisedLook, kNoWidgetResource, kNoAssociatedWidgetShortcutControl //in AppUI
55 #define kADBEIconSuiteRaisedButtonType kADBEIconSuiteButtonView, kIconCentering, kIconRaisedLook, kNoWidgetResource, kNoAssociatedWidgetShortcutControl //in BenchmarkPanel
56 #define kDestinationIconType kDestinationIconView, kIconCentering, kIconFlushLook, kNoWidgetResource, kNoAssociatedWidgetShortcutControl //in BenchmarkPanel
57 #define kIconButtonType kIconButtonView, kIconCentering, kIconRaisedLook, kNoWidgetResource, kNoAssociatedWidgetShortcutControl //in Hyper Link,
58 //#define kDestinationIconType kADBEIconSuiteRaisedButtonType //in Hyper Link,
59 */
60 
61 #endif // __IconStyleDefs_h__