File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / Draw / graphicsUndo.subproj / GraphicsChange.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:39 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
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

unix.superglobalmegacorp.com

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