
// Item.m

#import "Item.h"

@implementation Item

+ new
{
  int	i;
  
  self = [super new];
  
  for (i=0; i<MAX_COLUMNS; i++ )
    cellStrings[i] = NULL;

  for (i=0; i<MAX_BITMAPS; i++ )
    cellBitmaps[i] = nil;

  return self;
}


- setCell:aCell
{
  cell = aCell;
}

- (BOOL)bogus
{
  return bogus;
}
- (BOOL)shown
{
  return shown;
}
- (char **)strings
{
  return (char **)&cellStrings;
}
- (Bitmap **)bitmaps;
{
  return (Bitmap **)&cellBitmaps;
}
- setName:(const char *)newName
{
  strcpy(name, newName);
  return self;
}
- (char *)name
{
  return name;
}

@end
