home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2J (Developer)
/
os42jdev.iso
/
NextDeveloper
/
Examples
/
AppKit
/
Draw
/
graphicsUndo.subproj
/
LineWidthGraphicsChange.m
< prev
next >
Wrap
Text File
|
1995-11-28
|
609b
|
40 lines
#import "drawundo.h"
@interface LineWidthGraphicsChange(PrivateMethods)
- (BOOL)subsumeIdenticalChange:change;
@end
@implementation LineWidthGraphicsChange
- initGraphicView:aGraphicView lineWidth:(float)aWidth
{
[super initGraphicView:aGraphicView];
widthValue = aWidth;
return self;
}
- (NSString *)changeName
{
return LINEWIDTH_OP;
}
- (Class)changeDetailClass
{
return [LineWidthChangeDetail class];
}
- (float)lineWidth
{
return widthValue;
}
- (BOOL)subsumeIdenticalChange:change
{
widthValue = [(LineWidthGraphicsChange *)change lineWidth];
return YES;
}
@end