home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / GraphicsChange.h < prev    next >
Encoding:
Text File  |  1995-08-03  |  996 b   |  37 lines

  1. /*
  2.  * Please refer to external documentation about Draw
  3.  * with Undo for information about what GraphicsChange 
  4.  * is and where it fits in.
  5.  */
  6.  
  7. @interface GraphicsChange : Change
  8. {
  9.     id graphicView;        /* the view this change is done in */
  10.     NSMutableArray *changeDetails;    /* instances of ChangeDetail used to
  11.                        record information about the state
  12.                    particular graphics involved in the
  13.                    change */
  14.     NSMutableArray *graphicsToChange;    /* list of graphics to affect if different
  15.                    than the selected graphics */
  16.     NSMutableArray *graphics;        /* the graphics involved in the change,
  17.                        usually the graphics that were 
  18.                    selected at the time of the change */
  19. }
  20.  
  21. /* Initializing a GraphicsChange */
  22.  
  23. - initGraphicView:aGraphicView;
  24. - initGraphicView:aGraphicView forChangeToGraphic:aGraphic;
  25.  
  26. /* Methods overridden from Change */
  27.  
  28. - (void)saveBeforeChange;
  29. - (void)undoChange;
  30. - (void)redoChange;
  31.  
  32. /* Other public methods */
  33.  
  34. - (Class)changeDetailClass;
  35.  
  36. @end
  37.