+ (MUIPalette *) palette

Default constructor

- (struct MUI_Palette_Entry *) entries

Specify the colors that the user should be able to adjust with this palette object.

You supply an array of MUI_Palette_Structures here, each entry defining one color:

struct MUI_Palette_Entry { LONG mpe_ID; ULONG mpe_Red; ULONG mpe_Green; ULONG mpe_Blue; LONG mpe_Group; };

mpe_ID : This entry is not used by palette class, you can put in whatever you want, except the value MUIV_Palette_Entry_End (==-1), which terminates the array.

mpe_Red : 32-bit red component of the current color. This field will be changed by palette class whenever the user edits the color.

mpe_Green: 32-bit green component of the current color. This field will be changed by palette class whenever the user edits the color.

mpe_Blue : 32-bit blue component of the current color. This field will be changed by palette class whenever the user edits the color.

mpe_Group: Entries with the same mpe_Group value are concatenated. Whenever a new color in the listview is selected, all other colors with the same mpe_Group get selected as well and get adjusted all at once. Entry concatenation can be changed by the user, as long as you don't disable this feature with the MUIA_Palette_Groupable attribute.

- (BOOL) groupable

Enables/disables palette color grouping. Defaults to TRUE.

- (OBArray *) names

Specify the names of a palette objects color entries. Without names, the color listview just displays "Color " for each entry. If you supply an array of names here, they are displayed instead. The names array must have as many entries as the array of MUI_Palette_Entry structures (without its terminator).

- (void) noNotifySetGroupable:(BOOL)groupable
- (void) noNotifySetNames:(OBArray *)names
- (void) setEntries:(struct MUI_Palette_Entry *)entries

CAUTION: this is an initializer attribute, meaning it cannot be changed after the underlying MUI object is instantiated

- (void) setGroupable:(BOOL)groupable
- (void) setNames:(OBArray *)names