ftp.nice.ch/pub/next/audio/apps/Nu.3.0.N.b.tar.gz#/Nu.pkg/_Nu/Library/Glyphs/.h/Glyph.h

This is Glyph.h in view mode; [Download] [Up]

  #import <objc/Object.h>
  #import <appkit/graphics.h>
  #import "Nutation.h"
  struct gFlags
  { unsigned isTerminator: 1 ; // MUST be first!
  unsigned isRoot: 1 ;
  unsigned isTarget: 1 ;
  unsigned isFrozen: 1 ;
  unsigned isTray: 1 ;
  unsigned noDraw: 1 ;
  unsigned playing: 1 ;
  unsigned waiting: 1;
  unsigned depth: 6 ;
  unsigned user1: 1 ;
  unsigned user2: 1 ;
  } ;
@interface Glyph: Object
{ @public
  struct gFlags flags ; // MUST be first!
  NXRect frame ;
  NXPoint hotSpot ;
  NXSize  scale ;
  Glyph *is, *then, *ancestor ;
  Glyph *isAux, *thenAux ;
}
+ alloc ;
+ draw: (NXSize *) scale ;
+ drawButton: (NXRect *) aRect ;
+ printError ;
+ fontName: (char *) name size: (float) size string: (char *) aString bbox: (NXRect *) aRect ;
+ terminator ;
- addClassToListIfAbsent: aList ;
- ancestor ;
- ancestor: aGlyph ;
- auxAncestorOf: aGlyph ;
- auxUnlink ;
- basicFree ;
- becomeTarget ;
- calcDepth ;
- calcAuxDepth ;
- clone ;
- cloneAux: aGlyph ;
- convertFromAncestor: (NXPoint *) aPnt ;
- convert: (NXPoint *) aPnt fromGlyph: aGlyph ;
- convert: (NXPoint *) aPnt toGlyph: aGlyph ;
- convertFromRootGlyph: (NXPoint *) aPnt ;
- convertToAncestor: (NXPoint *) aPnt ;
- convertToRootGlyph: (NXPoint *) aPnt ;
- didResize: sender ;
- die ;
- display: (const NXRect *) aRect ;
- displayRaisedPass1: (id *)image size: (NXSize *) aSize ;
- displayRaisedPass2: (id *)image ;
- doesNotRecognize: (SEL) aSelector ;
- draw: (NXSize *) scale ;
- drawSelf: (NXRect *) aRect ;
- enclose ;
- enlist: (Glyph *) aGlyt ;
- free ;
- freeze: (BOOL) state ;
- getFrame: (NXRect *) aRect ;
- getHotSpot: (NXPoint *) aPnt ;
- getScale: (NXSize *) aSize ;
- glyphAtPath: (char *) aPath ;
- hitTest: (NXPoint *) aPnt ;
- init: (float) width :(float) height ;
- is ;
- is: aGlyph ;
- (BOOL) isLinked ;
- (BOOL) isTerminator ;
- message: (char *) msg ;
- mouseDown: (NXEvent *) anEvent ;
- mouseDragged: (NXEvent *) anEvent ;
- mouseUp: (NXEvent *) anEvent ;
- moveTo:(float) x :(float)y ;
- moveHotSpotTo:(float) x :(float)y ;
- moveHotSpotTo: (NXPoint *) aPoint ofGlyph: aGlyph ;
- moveOriginTo: (NXPoint *) aPoint ofGlyph: aGlyph ;
- partSort: (Glyph *) aGlyph from: (Glyph *) theRoot ;
- (char *) pathTo: aGlyph ;
- (char *) pathTo: aGlyph count: (int) knt ;
- plant: (Glyph *) aGlyt ;
- (BOOL) play ;
- precursor ;
- (BOOL) precedes: (Glyph *) aGlyph ;
- printAuxTTree: (int) depth ;
- printTTree ;
- propogate: (char *) aCommand from: (Glyph *) aGlyph ;
- resignTarget ;
- resizeBy: (double) w :(double) h pile: (BOOL) pile ;
- rightMouseDown: (NXEvent *) anEvent ;
- rootGlyph ;
- scan ;
- sizeTo: (float)width : (float)height ;
- then ;
- then: aGlyph ;
- tick ;
- unlink ;
- (BOOL) wait ;
- wasMoved ;
- wasPlanted: aGlyph ;
- wasPlantedAux: aGlyph ;
- wasReceivedBy: (id) aGlyphView ;
- read: (NXTypedStream *) stream ;
- write: (NXTypedStream *) stream ;
@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.