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

  1. @interface Inspector : NSObject
  2. {
  3.     Graphic *selectedGraphic;    /* the currently displayed graphic */
  4.     GraphicView *graphicView;    /* the view selectedGraphic is in */
  5.     NSSize lastSize;        /* the last size displayed */
  6.     NSSlider *lineWidthSlider;
  7.     NSTextField *lineWidthField;
  8.     NSPopUpButton *arrows;
  9.     NSTextField *width;
  10.     NSColorWell *lineColor;
  11.     NSColorWell *fillColor;
  12.     NSPopUpButton *filled;
  13.     NSPopUpButton *lineCap;
  14.     NSPopUpButton *lineJoin;
  15.     NSTextField *height;
  16.     NSButton *formEntry;
  17. }
  18.  
  19. /* Public methods */
  20.  
  21. - (void)loadGraphic:(Graphic *)graphic;
  22. - (void)load:(GraphicView *)graphicView;
  23. - (void)initializeGraphic:(Graphic *)graphic;
  24. - (void)preset;
  25.  
  26. /* Panel delegate method */
  27.  
  28. - (void)windowDidUpdate:(NSWindow *)sender;
  29.  
  30. /* Target/Action methods */
  31.  
  32. - (void)changeDimensions:sender;
  33. - (void)changeLineWidth:sender;
  34. - (void)changeFillColor:sender;
  35.  
  36. @end
  37.