Annotation of Examples/AppKit/Draw/graphicsUndo.subproj/LineWidthGraphicsChange.m, revision 1.1

1.1     ! root        1: #import "drawundo.h"
        !             2: 
        !             3: @interface LineWidthGraphicsChange(PrivateMethods)
        !             4: 
        !             5: - (BOOL)subsumeIdenticalChange:change;
        !             6: 
        !             7: @end
        !             8: 
        !             9: @implementation LineWidthGraphicsChange
        !            10: 
        !            11: - initGraphicView:aGraphicView lineWidth:(float)aWidth
        !            12: {
        !            13:     [super initGraphicView:aGraphicView];
        !            14:     widthValue = aWidth;
        !            15:     return self;
        !            16: }
        !            17: 
        !            18: - (const char *)changeName
        !            19: {
        !            20:     return NXLocalStringFromTable("Operations", "Line Width", NULL, "The operation of changing the width of a line segment.");
        !            21: }
        !            22: 
        !            23: - changeDetailClass
        !            24: {
        !            25:     return [LineWidthChangeDetail class];
        !            26: }
        !            27: 
        !            28: - (float)lineWidth
        !            29: {
        !            30:     return widthValue;
        !            31: }
        !            32: 
        !            33: - (BOOL)subsumeIdenticalChange:change
        !            34: {
        !            35:     widthValue = [(LineWidthGraphicsChange *)change lineWidth];
        !            36:     return YES;
        !            37: }
        !            38: 
        !            39: @end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.