home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594b.lha / Precognition_rel1 / Valuator.h < prev    next >
C/C++ Source or Header  |  1991-12-12  |  794b  |  41 lines

  1. /* ==========================================================================
  2. **
  3. **                   Valuator.h
  4. **
  5. ** Object<GraphicObject<Interactor<Valuator
  6. **
  7. ** A Valuator is a virtual class, derrived from class Interactor.
  8. ** Valuators are those interactors which allow the user to input
  9. ** (or select via button interaction) a value.
  10. **
  11. ** Examples; CycleGadgets, RadioButtons, Palettes.
  12. **
  13. ** ©1991 WILLISoft
  14. **
  15. ** ==========================================================================
  16. */
  17.  
  18. #ifndef VALUATOR_H
  19. #define VALUATOR_H
  20.  
  21. #include "Interactor.h"
  22.  
  23.  
  24. typedef Interactor Valuator;
  25.  
  26.  
  27. LONG Value( Valuator *self );
  28.    /*
  29.    ** Returns the current value
  30.    */
  31.  
  32.  
  33. LONG SetValue( Valuator *self, LONG selection );
  34.    /*
  35.    ** Sets the current value, returns the value.
  36.    */
  37.  
  38.  
  39. #endif
  40.  
  41.