|
|
Sample Programs from NeXSTEP 3.3
/*
* Please refer to external documentation about Draw
* with Undo for information about what GraphicsChange
* is and where it fits in.
*/
@interface GraphicsChange : Change
{
id graphicView; /* the view this change is done in */
List *changeDetails; /* instances of ChangeDetail used to
record information about the state
particular graphics involved in the
change */
List *graphicsToChange; /* list of graphics to affect if different
than the selected graphics */
List *graphics; /* the graphics involved in the change,
usually the graphics that were
selected at the time of the change */
}
/* Initializing and Freeing a GraphicsChange */
- initGraphicView:aGraphicView;
- initGraphicView:aGraphicView forChangeToGraphic:aGraphic;
- free;
/* Methods overridden from Change */
- saveBeforeChange;
- undoChange;
- redoChange;
/* Other public methods */
- changeDetailClass;
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.