
/* Generated by Interface Builder, modified by the author */

/* File: NeXTGraphic.m */

#include <stdio.h>

#import "NeXTGraphic.h"

@implementation NeXTGraphic

- readRichText:(NXStream *)aStream forView:aView /* reads the graphic information */
{
	char graphicName[64];
	int character;
	BOOL eof;
	char *charPointer;
	
	charPointer= graphicName;
	while( (eof= ((character= NXGetc( aStream)) != EOF)) && (character != ' ')) /* graphic name */
	{
		*charPointer++= (char)character;
	}
	*charPointer= (char)0;
	while( (eof= ((character= NXGetc( aStream)) != EOF)) && (character != 10)) /* no parameters */
		;
	
	[super initIconCell:graphicName]; /* init the icon cell */

	return self;
}

@end
