Carbon


Picker Attributes

Header: ColorPickerComponents.h

enum {
    kPickerCanDoColor = 1,
    kPickerCanDoBlackWhite = 2,
    kPickerAlwaysModifiesPalette = 4,
    kPickerMayModifyPalette = 8,
    kPickerIsColorSyncAware = 16,
    kPickerCanDoSystemDialog = 32,
    kPickerCanDoApplDialog = 64,
    kPickerHasOwnDialog = 128,
    kPickerCanDetach = 256,
    kPickerIsColorSync2Aware = 512
};

Constant descriptions

kPickerCanDoColor

The color picker supports Color QuickDraw.

kPickerCanDoBlackWhite

The color picker supports original QuickDraw.

kPickerAlwaysModifiesPalette

The color picker will modify palette entries on indexed devices.

kPickerMayModifyPalette

The color picker will modify the palette if it is told it can.

kPickerIsColorSyncAware

The color picker is ColorSync aware and can accept non-RGB colors.

kPickerCanDoSystemDialog

The color picker supports a system-owned dialog box.

kPickerCanDoApplDialog

The color picker supports an application-owned dialog box.

kPickerHasOwnDialog

The color picker has its own dialog box.

kPickerCanDetach

The color picker can be detached from a system-owned dialog box.

kPickerIsColorSync2Aware

In a resource of type 'thng' that defines a color picker component, bits 23 to 0 in the componentFlags field specify attributes for the color picker. These bits can be represented by these constants.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)