home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Connectivity / GateKeeper-2.1 / SwapView.h < prev    next >
Encoding:
Text File  |  1996-06-24  |  1.5 KB  |  63 lines

  1. //************************************************************************
  2. //
  3. //    SwapView.h.  
  4. //
  5. //    Most of this file was derived from:
  6. //    
  7. //            SwapView.h and InspectorController.h
  8. //            by Greg Burd
  9. //            SwapItDemo, ver 2.0
  10. //
  11. //    I have condensed, optimized and reformatted the code so that a swapview
  12. //    can be implemented with this source file and a nib.
  13. //
  14. //        changes 5/25/95    by Felipe A. Rodriguez
  15. //
  16. //    This code is supplied "as is" the author's makes no warranty as to its 
  17. //    suitability for any purpose.  This code is free and may be distributed 
  18. //    in accordance with the terms of the:
  19. //        
  20. //            GNU GENERAL PUBLIC LICENSE
  21. //            Version 2, June 1991
  22. //            copyright (C) 1989, 1991 Free Software Foundation, Inc.
  23. //             675 Mass Ave, Cambridge, MA 02139, USA
  24. //
  25. //************************************************************************
  26.  
  27. #import <appkit/appkit.h>
  28.  
  29. @interface SwapView:View
  30. {
  31.     id    lastInspector;
  32.     id  inspector; 
  33.     id    currentInspector;
  34.     id    delegate;
  35.     float    backgroundGray;
  36.     id    inspectorPanel;
  37.     id    popUpCover;
  38.     id  popup;
  39.     id    firstInspectorPanel;
  40.     id    secondInspectorPanel;
  41.     id    thirdInspectorPanel;
  42.     id    fourthInspectorPanel;
  43.     id    fifthInspectorPanel;
  44.     id    sixthInspectorPanel;
  45.     const char *theTitle;            // pointer to title of current panel
  46.     char Path[MAXPATHLEN + 1];        // generic buffer to hold paths
  47. }
  48.  
  49. - initPopUp;
  50. - initFrame:(NXRect *)frame;
  51. - (float)backgroundGray;
  52. - setBackgroundGray:(float)aColor;
  53. - currentInspector;
  54. - lastInspector;
  55. - swapIt;
  56. - free;
  57.  
  58. - inspectName:(const char *)str;
  59. - popUpAction:sender;
  60. - whatPanel;
  61.  
  62. @end
  63.