This is UphillLine.h in view mode; [Download] [Up]
/*---------------------------------------------------------------------- An instance of the abstract class ActionLine. This draws an "uphill" line, from the lower left to the upper right. It wouldn't be terribly hard to do away with these sleazy subclasses and do a grand, unified line object. HISTORY 22Mar93 DM New ----------------------------------------------------------------------*/ #import "ActionLine.h" @interface UphillLine:ActionLine { } - drawSelf:(NXRect *)rects :(int)count; // The classic NeXT method - mouseDown:(NXEvent*)theEvent; // Mousedown handling @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.