![]() | InDesign SDK 20.5 |
#include <IInterfaceColors.h>

Public Types | |
| enum | { kDefaultIID = IID_IINTERFACECOLORS } |
| enum | { kNumColors = kInterfaceColorCount, kFirstIndex = 0, kLastIndex = kNumColors - 1 } |
| typedef int32 | InterfaceColor |
Public Member Functions | |
| virtual bool16 | Init (const RsrcID interfaceColorTableRsrc)=0 |
| virtual bool16 | GetRealAGMColor (const InterfaceColor index, RealAGMColor &outColor) const =0 |
| virtual bool16 | GetRGBColor (const InterfaceColor index, RGBColor &outColor) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Protected Member Functions | |
| virtual bool16 | SetRealAGMColor (const InterfaceColor index, const RealAGMColor &inColor)=0 |
| virtual bool16 | SetRGBColor (const InterfaceColor index, const RGBColor &inColor)=0 |
Interface to provide access to standard UI color values.
| typedef int32 IInterfaceColors::InterfaceColor |
| pure virtual |
Get the color value for a particular color constant as a RealAGMColor
| index | identifier of the color you want, |
| outColor | the color to be filled out |
| pure virtual |
Get the color value for a particular color constant as an RGBColor
| index | identifier of the color you want, |
| outColor | the color to be filled out |
| pure virtual |
initialize colors from a resource table of int16 RGB colors. returns kTrue if success.
| interfaceColorTableRsrc | the resource id for the color table to initialize from. |
| protectedpure virtual |
The methods below are depracated and NO-OP. They will be removed in a future version. DO NOT USE THEM set the value of one of the colors in the table from a RealAGMColor
| index | color index to set. |
| inColor | color value to set |
| protectedpure virtual |
set the value of one of the colors in the table from a RGBColor
| index | color index to set. |
| inColor | color value to set |