DIRECTORY Rope USING [ROPE], VFonts USING [defaultFont, Font], ViewerOps USING [DestroyViewer], ViewerClasses USING [Viewer, ViewerRec]; Labels: CEDAR DEFINITIONS IMPORTS VFonts, ViewerOps = BEGIN OPEN ViewerClasses; Label: TYPE = Viewer; Create: PROC [info: ViewerRec _ [], font: VFonts.Font _ VFonts.defaultFont, paint: BOOL _ TRUE] RETURNS [label: Label] ; Destroy: PROC [label: Label] = INLINE {ViewerOps.DestroyViewer[label]}; Set: PROC [label: Label, value: Rope.ROPE, paint: BOOL _ TRUE] = INLINE {label.class.set[label, value, paint]}; Get: PROC [label: Label] RETURNS [value: Rope.ROPE] = INLINE {RETURN[label.name]}; SetDisplayStyle: PROC [label: Label, style: ATOM, paint: BOOL _ TRUE] = INLINE {label.class.set[label, style, paint, $DisplayStyle]} ; END. ΌLabels.mesa; Written by S. McGregor Last Edited by: McGregor, July 21, 1983 10:58 am Last Edited by: Maxwell, December 17, 1982 10:08 am Pass the label contents in info.name. Default info.ww, info.wh to get an aesthetic value based on label size. Recognised display styles are: $BlackOnWhite - black letters on white background (default) $WhiteOnBlack - white letters on black background $BlackOnGrey - black letters on grey background Κ{– "cedar" style˜JšΟc#™#Jšœ!™0Jšœ3™3J™šΟk ˜ Jšœžœžœ˜Jšœžœ˜!Jšœ žœ˜ Jšœžœ˜(J˜—Jš œžœžœžœžœ˜OJ˜Jšœžœ ˜J˜šΟnœžœGžœžœ˜_Jšžœ˜Jšn™nJ˜—JšŸœžœžœ"˜GJ˜š Ÿœžœžœ žœžœž˜GJ˜'J˜—š Ÿœžœžœžœž˜