This is GlyphView.h in view mode; [Download] [Up]
#import <appkit/View.h> #import "Glyph.h" @interface GlyphView: View { id fGView, bGView, scrollView ; Glyph *rootGlyph, *targetGlyph, *superGlyph ; int fGGState, bGGState ; NXRect targetFrame ; // targetGlyph's frame in my coord sys NXRect clipRect ; // clipping rectangle around targetGlyph NXRect visibleRect ; // visible portion of rootGlyph NXPoint mouseOffset ; // distance from mouse hit to target's origin BOOL rootIsTarget, isAWindow ; } + glyphViewList ; -blowUp ; -clipRect: (NXRect *) aRect toGlyph: (Glyph *) aGlyph ; -convertToScreen: (NXPoint *) aPnt ; -drawSelf:(const NXRect *)rects :(int)rectCount ; - handOff: (NXPoint *) aPnt ; - mouseDown: (NXEvent *) anEvent ; - mouseDragged: (NXEvent *) anEvent ; - mouseUp: (NXEvent *) anEvent ; - newTarget: (Glyph *) tg ; - receive: (Glyph *) aGlyt at: (NXPoint *) aPnt ; - rightMouseDown: (NXEvent *) anEvent ; - setScrollView: anObject ; - setup ; - rightMouseDragged: (NXEvent *) anEvent ; - rightMouseUp: (NXEvent *) anEvent ; - windowDidResize: sender ; - windowWillClose: sender ; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.