This is Annotation.h in view mode; [Download] [Up]
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\ftech Symbol;} \paperw11640 \paperh8400 \margl120 \margr120 \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 //ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\ // \i \b FILENAME \b0 : \b\i0 Annotation.h \ \b0 // \i \b SUMMARY \b0 : \b\i0 Defines the role of document annotations in eText. \b0 \ // \b\i SUPERCLASS \b0 : \i0 \b None \b0 \ // \b\i PROTOCOLS \b0 : \i0 \b <Annotation> \b0 \ // \b\i INTERFACE \b0 : \i0 \b None \b0 \ // \b\i AUTHOR \b0 : \b\i0 Rohit Khare \b0 \ // \b\i COPYRIGHT \b0 : \f1\i0 Ó \f0\b 1993,94 California Institure of Technology, eText Project\ \b0 //ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\ // \b\i Description \b0\i0 \ // The class declared in registerAnnotation... must conform to this\ // protocol. The specification is largely described in the NEXTSTEP AppKit\ // text class in the section "Methods Implemented by an Embedded Graphic\ // Object."\ //\ // The minimum UI for annotation suggests that any conforming object should at\ // least support inspection on receipt of a click\ //ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\ // \b\i HISTORY\ \b0\i0 // 09/27/94: \b Revamped for eText5 \b0 \ // 07/24/94: \b CSupport added by TRZ \b0 \ // 07/13/94: \b Added <ComponentData> protocol \b0 \ // 05/21/94: \b Added protocols for alternate file formats \b0 \ // 01/10/94: \b Split into two protocols; fewer compiler complaints \b0 \ // 01/05/94: \b Created. Derived largely from Version 3.0 \b0 \ // 08/19/93: \b Created. Derived almost wholly from Version 1.0 \b0 \ // \i Version 1.0 tracking notes: \i0 \ // 06/29/93: \b Added -doc for the purpose of Inspector's -touch \b0 \ // 06/27/93: \b Created (Rohit Khare) \b0 \ //ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\ // \b Imported Interfaces \b0 \ //\ #import <appkit/ \b appkit.h \b0 >\ \ \i @protocol Annotation <ETFDSupport> \i0 \ - \b initFromPboard \b0 :thePboard \b inDoc \b0 :theDoc \b linked \b0 :(BOOL) linked;\ \ // \i From the Text Class... \i0 \ - \b calcCellSize \b0 :(NXSize *)theSize;\ - \b drawSelf \b0 :(const NXRect *)rect \b inView \b0 :view;\ - \b highlight \b0 :(const NXRect *)rect \b inView \b0 :view \b lit \b0 :(BOOL)flag;\ - (BOOL) \b trackMouse \b0 :(NXEvent *)theEvent\ \b inRect \b0 :(const NXRect *)rect\ \b ofView \b0 :view; \i \ @end }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.