--PlugIn.mesa
--test the ability to plug in new color device procs and get index functions
--Last changed by Maureen Stone October 18, 1982 1:35 pm
DIRECTORY
ColorPackagePrivate,
ColorDevice;
PlugIn: CEDAR PROGRAM IMPORTS ColorPackagePrivate, ColorDevice = {
NewCD: PROC = {ColorPackagePrivate.SetNewContextProc[ColorDevice.New]};
NewGetIndex: PROC = {ColorPackagePrivate.SetNewColorMapProc[GetIndex]};
GetIndex: ColorPackagePrivate.ColorMapProc = {RETURN[r]};
NewCD[];
}.