home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / aa_Intel_Only / Gnuplot / GnuplotSource / CellScrollView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  992 b   |  39 lines

  1. /*
  2.  *  Copyright (C) 1993  Robert Davis
  3.  *
  4.  *  This program is free software; you can redistribute it and/or
  5.  *  modify it under the terms of Version 2, or any later version, of 
  6.  *  the GNU General Public License as published by the Free Software 
  7.  *  Foundation.
  8.  */
  9.  
  10. /* $Id: CellScrollView.h,v 1.7 1993/05/18 03:54:42 davis Exp $ */
  11.  
  12. /*
  13.  *  This ScrollView/Matrix combo is based heavily on the NeXTSTEP 
  14.  *  MiniExample CellScrollView by R. Dunbar Poor and Mai Nguyen.
  15.  */
  16.  
  17. #import <appkit/ScrollView.h>
  18.  
  19. @class List;
  20.  
  21. @interface CellScrollView:ScrollView
  22. {
  23.     id        cellMatrix;    /* Underlying Matrix            */
  24.     id        cellClass;    /* The class object of the cell        */
  25.     id        cellSizePrototype;
  26.     int        numCols;    /* How many columns            */
  27.     BOOL    isSubType;
  28. }
  29.  
  30. - initFrame:(const NXRect *)frameRect;
  31. - initMatrixCellClass:classId cols:(int)anInt; /* Must be called before used */
  32. - free;
  33. - awakeFromNib;
  34.  
  35. - cellMatrix;
  36. - loadCol:(int)col from:(List *)cellObjects;    /* Reload/redisplay list */
  37.  
  38. @end
  39.