home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Examples / AppKit / Draw / graphicsUndo.subproj / StartEditingGraphicsChange.h < prev    next >
Text File  |  1992-02-09  |  648b  |  23 lines

  1. /*
  2.  * This change is created when the user begins editing a text
  3.  * graphic, either by clicking in graphic while in the text tool
  4.  * is selected or by creating a new graphic with the text tool. 
  5.  * Undoing this change inserts the removege text editing
  6.  * cursor from the text. More significantly, undoing this
  7.  * change swaps the contents of the field editor back into the
  8.  * TextGraphic and redoing this change swaps the contents of the
  9.  * TextGraphic into the field editor.
  10.  */
  11.  
  12. @interface StartEditingGraphicsChange : Change
  13. {
  14.     TextGraphic    *graphic;
  15. }
  16.  
  17. - initGraphic:aGraphic;
  18. - (const char *)changeName;
  19. - undoChange;
  20. - redoChange;
  21.  
  22. @end
  23.