InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IRenderingObjectDrawer.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 __IRenderingObjectDrawer__
25 #define __IRenderingObjectDrawer__
26 
27 #include "IPMUnknown.h"
28 #include "ColorSystemID.h"
29 #include "InterfaceFontInfo.h"
30 
31 class PMRect;
32 class IGraphicsPort;
33 class IViewPort;
34 class IControlView;
35 class IGraphicsContext;
36 
42 {
43  public:
44  enum { kDefaultIID = IID_IRENDERINGOBJECTDRAWER };
45 
51  virtual void DrawRenderObjectUI ( IViewPort* viewPort, IControlView* view, SysRgn updateRgn, PMRect frame ) const = 0;
52 
60  virtual void DrawRenderObjectUIName ( IGraphicsContext* gc, const InterfaceFontInfo& fontInfo, const PMRect& frame, const int16& alignment, const bool16& isHilited,const bool16& isEnabled ) const = 0;
61 
66  virtual void DrawRenderObjectUISwatch ( IGraphicsPort* gPort, const PMRect& frame ) const = 0;
67 
73  virtual void DrawRenderObjectUIIcons ( IViewPort* viewPort, const SysRect& sysFrame, const bool16& brightnessAware=kTrue ) const = 0;
74 };
75 
76 #endif