home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Gnuplot / Source / Inspector.h < prev    next >
Encoding:
Text File  |  1993-03-18  |  1.5 KB  |  71 lines

  1.  
  2. /* $Id: Inspector.h,v 1.1.1.1 1993/03/18 03:33:47 davis Exp $ */
  3.  
  4. #import <objc/List.h>
  5. #import <objc/Object.h>
  6. #import <objc/hashtable.h>        /* NXAtom */
  7.  
  8. #define NO_INSPECTOR        0
  9. #define GENERAL_INSPECTOR    1
  10. #define DATA_INSPECTOR        2
  11. #define AXES_INSPECTOR        3
  12. #define THREED_INSPECTOR    4
  13.  
  14. @interface Inspector:Object
  15. {
  16.     id    window;                /* The multi-inspector panel    */
  17.     int    windowWidth;
  18.  
  19.     id    noPane;                /* The panes and their views    */
  20.     id    noView;
  21.     id    generalPane;
  22.     id    generalView;
  23.     id    dataPane;
  24.     id    dataView;
  25.     id    axesPane;
  26.     id    axesView;
  27.     id    threeDPane;
  28.     id    threeDView;
  29.  
  30.     id    currentPane;            /* One of the above panes    */
  31.     id    currentView;
  32.  
  33.     id    buttonMatrix;
  34.  
  35.     id    status;                /* Current status        */
  36.     id    gnuplotPlot;            /* Current plot            */
  37.  
  38.     id    stringSet;            /* Inspector's string table    */
  39.  
  40.  
  41.     id    plotButton;
  42.  
  43. }
  44.  
  45. - init;
  46.  
  47. - window;            /* Returns the inspector window        */
  48.  
  49. /* 
  50.  *  Services.  (These work because we're the delegate of the inspector 
  51.  *  window.)
  52.  */
  53. - validRequestorForSendType:(NXAtom)sendType andReturnType:(NXAtom)returnType;
  54. - (BOOL)writeSelectionToPasteboard:pboard types:(NXAtom *)types;
  55.  
  56. - update;            /* Update the current pane        */
  57.  
  58. - doPlot:sender;        /* Tell GnuplotPlot to replot        */
  59.  
  60. - windowDidUpdate:sender;    /* Make interface match current settings*/
  61.  
  62. - selectPane:(int)aPane;
  63.  
  64. - showNoPane:sender;        /* Target/Action            */
  65. - showGeneralPane:sender;
  66. - showDataPane:sender;
  67. - showAxesPane:sender;
  68. - showThreeDPane:sender;
  69.  
  70. @end
  71.