|
|
1.1 root 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: List *changeDetails; /* instances of ChangeDetail used to
11: record information about the state
12: particular graphics involved in the
13: change */
14: List *graphicsToChange; /* list of graphics to affect if different
15: than the selected graphics */
16: List *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 and Freeing a GraphicsChange */
22:
23: - initGraphicView:aGraphicView;
24: - initGraphicView:aGraphicView forChangeToGraphic:aGraphic;
25: - free;
26:
27: /* Methods overridden from Change */
28:
29: - saveBeforeChange;
30: - undoChange;
31: - redoChange;
32:
33: /* Other public methods */
34:
35: - changeDetailClass;
36:
37: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.