home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / Palettes / TTools / TToolsPalette / Timer.subproj / TimerInspector.h < prev    next >
Encoding:
Text File  |  1993-11-09  |  1.2 KB  |  41 lines

  1. /* TimerInspector.h
  2.  * Written By:  Thomas Burkholder
  3.  *
  4.  * You may freely copy, distribute, and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  6.  * fitness for any particular use.
  7.  */
  8.  
  9. #import <appkit/appkit.h>
  10. #import <apps/InterfaceBuilder.h>
  11. #import "Timer.h"
  12.  
  13. // Category of Timer that does the inspector-specific stuff
  14. @interface Timer (AttributesInspector)
  15.  
  16. - (const char *)getInspectorClassName;
  17. - (NXImage *)getIBImage;
  18.  
  19. @end
  20.  
  21. // Inspector for the Timer class
  22. @interface TimerInspector:IBInspector
  23. {
  24.     id    periodField;        // field for period entry/display
  25.     id    priorityField;        // field for priority entry/display
  26.     id    visibleDebugSwitch;    // switch for visibleDebug mode on/off
  27.     id    wrapSwitch;            // switch for wrap mode on/off
  28.     id    syncSwitch;            // switch for synchronization on/off
  29.     id    syncValueField;        // field for synchronization entry/display
  30.     id    startValueField;        // field for startValue entry/display
  31.     id    wrapValueField;        // field for wrapValue entry/display
  32.     id    incrementByField;        // field for incrementBy entry/display
  33. }
  34.  
  35. - init;
  36. - (BOOL)wantsButtons;
  37. - thresholdPopped:sender;    // action for the threshold PopUpList
  38. - revertInspector:sender;
  39.  
  40. @end
  41.