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

  1. /* ==========================================================================
  2. **
  3. **                   Positioner.h
  4. ** Object<GraphicObject<Interactor<Valuator<Positioner
  5. **
  6. ** A Positioner is a virtual class, derrived from class Valuator.
  7. ** Positioners are proportional gadgets.
  8. **
  9. **
  10. ** ©1991 WILLISoft
  11. **
  12. ** ==========================================================================
  13. */
  14.  
  15. #ifndef POSITIONER_H
  16. #define POSITIONER_H
  17.  
  18. #include "Valuator.h"
  19.  
  20.  
  21.  
  22. typedef Valuator Positioner;
  23.  
  24.  
  25.  
  26. USHORT KnobSize( Positioner *self );
  27.    /*
  28.    ** Returns the size of the knob (range 0..0xFFFF).
  29.    */
  30.  
  31.  
  32. USHORT SetKnobSize( Positioner *self, USHORT knobsize );
  33.    /*
  34.    ** Sets the size of the knob. Returns its size.
  35.    */
  36.  
  37.  
  38. #endif
  39.  
  40.  
  41.