![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ICOLORPICKERWIDGETPROVIDER } |
Public Member Functions | |
| virtual const int16 | GetNumSliders () const =0 |
| virtual const int32 | GetBaseSliderWidgetID () const =0 |
| virtual const int32 | GetBaseEditBoxWidgetID () const =0 |
| virtual const int32 | GetWidgetID () const =0 |
| virtual const int32 | GetColorSpace () const =0 |
| virtual const PMString & | GetPickerModelName () const =0 |
| virtual bool16 | SliderDrawProc (IControlView *view, IGraphicsPort *gPort, SysRgn updateRgn, const PMRect &frame)=0 |
| virtual bool16 | SpectrumDrawProc (IControlView *view, IGraphicsPort *gPort, SysRgn updateRgn, const PMRect &frame)=0 |
| virtual bool16 | ProxyDrawProc (IControlView *view, IGraphicsPort *gPort, SysRgn updateRgn, const PMRect &frame)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Returns the base widget ID of the edit box widgets provided by this picker. Edit box widget ID must be consecutive. For example, the base edit widget id is defined for the red edit box.
| pure virtual |
Returns the base widget ID of the slider widgets provided by this picker. Slider widget ID must be consecutive. For example, the base slider widget id is defined for the red slider.
| pure virtual |
Returns the color space ID of this picker panel.
| pure virtual |
Returns the number of sliders provided. For example, the number of silders in a RGB color picker panel is 3.
| pure virtual |
Returns the name for the color space of this picker panel. This is used to build the menu component of the picker. Example, A RGB color picker's color model name is "RGB".
| pure virtual |
Returns the widget ID of this picker panel.
| pure virtual |
The rendering function for the color proxy widget.
| view | specifies the view of the color proxy widget |
| gPort | is the graphic port in which the drawing occurs. |
| updateRgn | is the update region. |
| frame | is the rectangular frame for the color prxy widget. |
| pure virtual |
The rendering function for the slider widgets.
| view | specifies the view of the slider widget |
| gPort | is the graphic port in which the drawing occurs. |
| updateRgn | is the update region. |
| frame | is the rectangular frame for the slider widget. |
| pure virtual |
The rendering function for the color bar widget.
| view | specifies the view of the color bar widget |
| gPort | is the graphic port in which the drawing occurs. |
| updateRgn | is the update region. |
| frame | is the rectangular frame for the color bar widget. |