InstallFurtherPaint:
PROC [
keyReferentType: AMTypes.Type ← AMTypes.nullType,
--default means check value only
keyValue:
REF ←
NIL,
--default means check type only; you can not install a proc for NIL
proc: FurtherPaintProc
];
-- All errors and signals from proc will be catched.
-- Sometimes calls proc with; sometimes without locks, depending on key.
-- It is ok to call the viewers-PaintProc recursively, but please
-- do not cause wedges, there is no protection.
-- May or may not check if keyValue is of type REF keyReferentType, if both non NIL
-- Never use CODE[CDDraw.Comm] as keyReferentType; CDDraw.Comm is specially
-- handled, as on CallFurther its ref field is used as key.
CallFurtherPaint:
PRIVATE PROC [me: CDVPrivate.VRef, key:
REF];
-- Catches all errors and signals!
-- Called by the viewer paintproc of ChipNDale-design viewers only.