This is LineColorGraphicsChange.m in view mode; [Download] [Up]
#import "drawundo.h" @interface LineColorGraphicsChange(PrivateMethods) - (BOOL)subsumeIdenticalChange:change; @end @implementation LineColorGraphicsChange - initGraphicView:aGraphicView color:(const NXColor *)aColor { [super initGraphicView:aGraphicView]; color = *aColor; return self; } - (const char *)changeName { return NXLocalStringFromTable("Operations", "Line Color", NULL, "The operation of changing the color of a line segment."); } - changeDetailClass { return [LineColorChangeDetail class]; } - (NXColor)lineColor { return color; } - (BOOL)subsumeIdenticalChange:change { color = [(LineColorGraphicsChange *)change lineColor]; return YES; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.