home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / Programming / Classes / 2.0_HotShape / beta / HotShape.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-23  |  907 b   |  31 lines

  1. // HotShape.h
  2. // By Charles G. Fleming, Educational Computing Services, Allegheny College.
  3. // Copyright 1992 Allegheny College
  4. // You may freely copy, distribute and reuse this code. 
  5. // Allegheny College and the author disclaim any warranty of any kind, 
  6. // expressed or implied, as to its fitness for any particular use.
  7. // This work was partially supported by a grant from the Vira Heinz Endowment.
  8.  
  9. #import <appkit/Control.h>
  10.  
  11. @interface HotShape:Control
  12. {
  13.     char *hotPathName;
  14.     BOOL visible;
  15. }
  16.  
  17. - initFrame:(const NXRect *)frameRect;
  18. - (BOOL)acceptsFirstMouse;
  19. - mouseDown:(NXEvent *)theEvent;
  20. - drawSelf:(const NXRect *)rects :(int)rectCount;
  21. - awake;
  22. - sizeTo:(NXCoord)width :(NXCoord)height;
  23. - setHotPathName:(char *)name;
  24. - (char *)hotPathName;
  25. - (const char *)inspectorName;
  26. - (BOOL)visible;
  27. - setVisible:(BOOL)seeIt;
  28. - read:(NXTypedStream *)typedStream;
  29. - write:(NXTypedStream *)typedStream;
  30. @end
  31.