Class definition file: wpclrpal.idl
Class hierarchy SOMObject
WPObject
WPAbstract
WPPalette
WPColorPalette
Description
This is the color palette object class. An instance of this class can be created as a Workplace object. Two instances of this class are created initially by the system, with the titles "Mixed Color Palette" and "Solid Color Palette", both residing in the "System Setup" folder.
Instance methods
There are currently no methods defined for the WPColorPalette Workplace object class.
SOMObject instance methods
The following list shows all the instance methods overridden by the WPObject class. These instance methods are overridden in order to modify the behavior defined by an ancestor class.
WPObject instance methods
The following list shows all the methods overridden by the WPColorPalette class. These methods are overridden in order to modify the behavior defined by an ancestor class.
wpSetup override by WPColorPalette
The following table shows the keyname-value pairs added by the WPColorPalette class.
ÚÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿³KEYNAME ³VALUE ³DESCRIPTION ³ ÃÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³AUTOSETUP ³HIRES ³This sets the number of default colors ³ ³ ³ ³in the color palette to the 256-color ³ ³ ³ ³Mixed Color Palette. ³ ÃÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³LORES ³This sets the number of default colors ³ ³ ³ ³in the color palette to the 16-color ³ ³ ³ ³Solid Color Palette. ³ ÃÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³COLORS ³RGB values³These are the initial color values of ³ ³ ³ ³each cell in the color palette. The ³ ³ ³ ³values for each cell are separated by ³ ³ ³ ³commas. This is equivalent to calling ³ ³ ³ ³the wpSetupCell method. The RGB value ³ ³ ³ ³must be presented as a 6-digit hex value³ ³ ³ ³in the format 0xRRGGBB where RR, GG, and³ ³ ³ ³BB are the red, green, and blue, values ³ ³ ³ ³ranging between 0x00 and 0xFF (0-255). ³ ÃÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³XCELLCOUNT³columns ³Number of X cells as decimal digits. ³ ³ ³ ³For Solid Color Palette, AUTOSETUP=LORES³ ³ ³ ³must be specified, and the default value³ ³ ³ ³is 8. ³ ³ ³ ³For Mixed Color Palette, AUTOSETUP=HIRES³ ³ ³ ³must be specified, and the default value³ ³ ³ ³is 16. ³ ÃÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³YCELLCOUNT³rows ³Number of Y cells as decimal digits. ³ ³ ³ ³For Solid Color Palette, AUTOSETUP=LORES³ ³ ³ ³must be specified, and the default value³ ³ ³ ³is 2. ³ ³ ³ ³For Mixed Color Palette, AUTOSETUP=HIRES³ ³ ³ ³must be specified, and the default value³ ³ ³ ³is 16. ³ ÀÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Example
pszSetupString="COLORS=0x000000," "0xFFFFFF," "0xFF23B4," "0x505050," "0x00FFFF," "0xA0A0A0";
WPPalette methods
The following list shows all the methods overridden by the WPColorPalette class. These methods are overridden in order to modify the behavior defined by an ancestor class.
Class methods
There are currently no class methods defined for the WPColorPalette Workplace object class.
WPObject class methods
The following list shows all the class methods overridden by the WPColorPalette class. These methods are overridden to modify the behavior defined by an ancestor class.
WPPalette class methods
The following list shows all the class methods overridden by the WPColorPalette class. These methods are overridden to modify the behavior defined by an ancestor class.