File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / Draw / graphicsUndo.subproj / StartEditingGraphicsChange.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

/*
 * This change is created when the user begins editing a text
 * graphic, either by clicking in graphic while in the text tool
 * is selected or by creating a new graphic with the text tool. 
 * Undoing this change inserts the removes the text editing
 * cursor from the text. More significantly, undoing this
 * change swaps the contents of the field editor back into the
 * TextGraphic and redoing this change swaps the contents of the
 * TextGraphic into the field editor.
 */

@interface StartEditingGraphicsChange : Change
{
    TextGraphic	*graphic;
}

- initGraphic:aGraphic;
- (const char *)changeName;
- undoChange;
- redoChange;

@end

unix.superglobalmegacorp.com

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