InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IColorPickerWidgetProvider.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 __IColorPickerWidgetProvider__
25
#define __IColorPickerWidgetProvider__
26
27
#include "ColorPickerID.h"
28
#include "PMRect.h"
29
50
class
IGraphicsPort
;
51
class
PMString
;
52
class
IControlView
;
53
54
class
IColorPickerWidgetProvider
:
public
IPMUnknown
55
{
56
public
:
57
enum
{ kDefaultIID = IID_ICOLORPICKERWIDGETPROVIDER };
58
63
virtual
const
int16
GetNumSliders
()
const
= 0;
64
70
virtual
const
int32
GetBaseSliderWidgetID
()
const
= 0;
71
77
virtual
const
int32
GetBaseEditBoxWidgetID
()
const
= 0;
78
82
virtual
const
int32
GetWidgetID
()
const
= 0;
83
87
virtual
const
int32
GetColorSpace
()
const
= 0;
88
94
virtual
const
PMString
&
GetPickerModelName
()
const
= 0;
95
103
virtual
bool16
SliderDrawProc
(
IControlView
* view,
IGraphicsPort
* gPort, SysRgn updateRgn,
const
PMRect
& frame) = 0;
104
112
virtual
bool16
SpectrumDrawProc
(
IControlView
* view,
IGraphicsPort
* gPort, SysRgn updateRgn,
const
PMRect
& frame) = 0;
113
121
virtual
bool16
ProxyDrawProc
(
IControlView
* view,
IGraphicsPort
* gPort, SysRgn updateRgn,
const
PMRect
& frame) = 0;
122
123
};
124
125
#endif //__IColorPickerWidgetProvider__
tmpdoxygeninput
IColorPickerWidgetProvider.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1