home *** CD-ROM | disk | FTP | other *** search
- /* DocumentIcon.h:
- * You may freely copy, distribute, and reuse the code in this example.
- * NeXT disclaims any warranty of any kind, expressed or implied, as to its
- * fitness for any particular use.
- *
- *
- */
-
- #import <appkit/appkit.h>
-
- @interface DocumentIcon: Control {
- id image;
- id target;
- SEL action;
- char *filename;
- }
-
- - initFrame:(const NXRect *)frameRect;
- - drawSelf:(const NXRect *)rects :(int)rectCount;
- - free;
-
- - (const char *) stringValue;
- - setStringValue: (const char *) aString;
-
- @end
-