This is Staff.h in view mode; [Download] [Up]
#import "Glyph.h" #define NOACCIDENTAL 127 // i.e. accidental slot never set @interface Staff:Glyph { int c4Slot ; char accidental[70] ; char keySig[7] ; } - accidental: aGlyph value: (int) anInt ; - (int) c4Slot ; - mouseDown: (NXEvent *) anEvent ; - clearAccidentals ; - clone ; - cloneAux: aGlyph ; - copy ; - free ; - drawSelf: (NXRect *) aRect ; - init: (float) width :(float) height ; - isStaff ; - (int) keyNumOf: (int) slotNum ; - keySig: aGlyph value: (int) anInt ; - ledgerFor: aNote slot: (int) slotNum ; - (int) octaveOf: (int) slotNum ; - (int) pCOf: (int) slotNum ; - plant: (Glyph *) aGlyt ; - play ; - (BOOL) precedes: (Glyph *) aGlyph ; - scan ; -(int) setSlot: (int) slotNum toKeyNum: (int) aKeyNum ; -(int) slotNum: aGlyph ; -(float) yOfSlot: (int) slotNum ; -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.