home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / AlexNeXTSTEPSource / Source / Chapter7_Views / Shapes / ShapeView.h < prev    next >
Encoding:
Text File  |  1993-04-14  |  485 b   |  28 lines

  1. /* Generated by Project Builder */
  2.  
  3. #import <appkit/View.h>
  4.  
  5. @interface ShapeView:View
  6. {
  7.   float angle;
  8.   float xScale;
  9.   float yScale;
  10.   float x;
  11.   float y;
  12.   id downWindowMatrix;    // outlet w/ coord of
  13.             // mouse down event
  14.   id upWindowMatrix;    // outlet w/ coord of
  15.             // mouse-up event
  16. }
  17.  
  18. - initFrame:(NXRect *)frameRect;
  19. - scale:sender;
  20. - translate:sender;
  21. - rotate:sender;
  22. - erase;
  23. - mouseDown:(NXEvent *)theEvent;
  24. - mouseUp:(NXEvent *)theEvent;
  25. - (BOOL)acceptsFirstMouse;
  26.  
  27. @end
  28.