MODULE; IMPORT PaintOp; PROCEDURE MyColors Black (): PaintOp.T = BEGIN RETURN (PaintOp.FromRGB(0.0, 0.0, 0.0, PaintOp.Mode.Accurate)) END Black; PROCEDUREWhite (): PaintOp.T = BEGIN RETURN (PaintOp.FromRGB(1.0, 1.0, 1.0, PaintOp.Mode.Accurate)) END White; PROCEDUREGray (): PaintOp.T = BEGIN RETURN (PaintOp.FromRGB(0.6, 0.6, 0.6, PaintOp.Mode.Accurate)) END Gray; PROCEDURETest (): PaintOp.T = (* currently brown *) BEGIN RETURN (PaintOp.FromRGB(0.0, 0.45, 1.0, (* was .55 *) PaintOp.Mode.Accurate)) END Test; PROCEDUREHead (): PaintOp.T = (* currently green *) BEGIN RETURN (PaintOp.FromRGB(0.0, 0.88, 0.0, PaintOp.Mode.Accurate)) END Head; PROCEDURETail (): PaintOp.T = (* currently purple *) BEGIN RETURN (PaintOp.FromRGB(1.0, 0.0, 1.0, PaintOp.Mode.Accurate)) END Tail; PROCEDURERight (): PaintOp.T = (* currently pale red *) BEGIN RETURN (PaintOp.FromRGB(1.0, 0.85, 0.8, PaintOp.Mode.Accurate)) END Right; PROCEDURELeft (): PaintOp.T = (* currently pale green *) BEGIN RETURN (PaintOp.FromRGB(0.8, 1.0, 0.8, PaintOp.Mode.Accurate)) END Left; PROCEDUREFront (): PaintOp.T = (* currently red *) BEGIN RETURN (PaintOp.FromRGB(1.0, 0.2, 0.0, PaintOp.Mode.Accurate)) END Front; PROCEDUREBack (): PaintOp.T = (* currently purple *) BEGIN RETURN (PaintOp.FromRGB(0.9, 0.0, 1.0, PaintOp.Mode.Accurate)) END Back; PROCEDUREShaft (): PaintOp.T = (* currently green *) BEGIN RETURN (PaintOp.FromRGB(0.0, 0.85, 0.0, PaintOp.Mode.Accurate)) END Shaft; PROCEDUREOutside (): PaintOp.T = (* currently pale purple *) BEGIN RETURN (PaintOp.FromRGB(0.95, 0.8, 1.0, PaintOp.Mode.Accurate)) END Outside; PROCEDUREBand (): PaintOp.T = (* currently red *) BEGIN RETURN (PaintOp.FromRGB(0.77, 0.57, 0.0, PaintOp.Mode.Accurate)) END Band; BEGIN FontString := "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*" END MyColors.