home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Examples / AppKit / Draw / GridView.h < prev    next >
Text File  |  1995-08-06  |  525b  |  32 lines

  1. @interface GridView : NSView
  2. {
  3.     id spacing;
  4.     id grayField;
  5.     id graySlider;
  6.     id graphicView;
  7.     id form;
  8. }
  9.  
  10. /* Public methods */
  11.  
  12. - (void)runModalForGraphicView:(GraphicView *)graphicView;
  13.  
  14. /* Private methods */
  15.  
  16. - (void)drawGrid:(int)grid;
  17.  
  18. /* Methods overridden from superclass */
  19.  
  20. - (void)drawRect:(NSRect)rects;
  21. - (void)mouseDown:(NSEvent *)event;
  22.  
  23. /* Target/Action methods */
  24.  
  25. - (void)show:sender;
  26. - (void)off:sender;
  27. - (void)cancel:(id)sender;
  28. - (void)changeSpacing:sender;
  29. - (void)changeGray:sender;
  30.  
  31. @end
  32.