This is Glyph.h in view mode; [Download] [Up]
#import <objc/Object.h> #import <appkit/graphics.h> struct gFlags { unsigned isRoot: 1 ; unsigned isTarget: 1 ; unsigned noDraw: 1 ; } ; @interface Glyph: Object { @public NXRect frame ; Glyph *is, *then, *ancestor ; // these belong as a bitstructure struct gFlags flags ; char iam[20] ; } - ancestor ; - ancestor: aGlyph ; -convertFromAncestor: (NXPoint *) aPnt ; -convertFromRootGlyph: (NXPoint *) aPnt ; -convertToAncestor: (NXPoint *) aPnt ; -convertToRootGlyph: (NXPoint *) aPnt ; - display: (const NXRect *) aRect ; - drawSelf: (NXRect *) aRect ; - enlist: (Glyph *) aGlyt ; - hitTest: (NXPoint *) aPnt ; - (char *) iam ; - iam: (char *) str ; - init ; - is ; - is: aGlyph ; - (BOOL) isTerminator ; - moveTo:(float) x :(float)y ; - plant: (Glyph *) aGlyt ; - (BOOL) precedes: (Glyph *) aGlyph ; - sizeTo: (float)width : (float)height ; - then ; - then: aGlyph ; - test: (int) anInt ; - unlink ; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.