home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Utilities / FileSpy-1.1-MIHS / MyMatrix.h < prev    next >
Encoding:
Text File  |  1996-04-12  |  1.8 KB  |  56 lines

  1. /*
  2.  *   This sourcecode is part of FileSpy, a logfile observing utility.
  3.  *   Copyright (C) 1996  Felix Rauch
  4.  *
  5.  *   This program is free software; you can redistribute it and/or modify
  6.  *   it under the terms of the GNU General Public License as published by
  7.  *   the Free Software Foundation; either version 2 of the License, or
  8.  *   (at your option) any later version.
  9.  *   
  10.  *   Notice that this program may not be possessed, used, copied,
  11.  *   distributed or modified by people having to do with nuclear
  12.  *   weapons. See the file CONDITIONS for details.
  13.  *
  14.  *   This program is distributed in the hope that it will be useful,
  15.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17.  *   GNU General Public License for more details.
  18.  *
  19.  *   You should have received a copy of the GNU General Public License
  20.  *   along with this program; if not, write to the Free Software
  21.  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22.  *
  23.  *   To contact the original author, try:
  24.  *   e-mail: Felix.Rauch@nice.ch
  25.  *   Traditional mail:    Felix Rauch
  26.  *            Sempacherstrasse 33
  27.  *            8032 Zurich
  28.  *            Switzerland
  29.  */
  30.  
  31. // Most of this code was taken from:
  32. // NiftyMatrix.h
  33. // By Jayson Adams, NeXT Developer Support Team
  34. // You may freely copy, distribute and reuse the code in this example.
  35. // NeXT disclaims any warranty of any kind, expressed or implied, as to its
  36. // fitness for any particular use.
  37.  
  38. #import <appkit/Matrix.h>
  39.  
  40. @interface MyMatrix:Matrix
  41. {
  42.     id    matrixCache, cellCache, activeCell;
  43. }
  44.  
  45. /* instance methods */
  46. - free;
  47. - mouseDown:(NXEvent *)theEvent;
  48. - drawSelf:(NXRect *)rects :(int)count;
  49. - setupCacheWindows;
  50. - sizeCacheWindow:cacheWindow to:(NXSize *)windowSize;
  51.  
  52. // added by xilef
  53. - (BOOL)acceptsFirstMouse;
  54.  
  55. @end
  56.