home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / MMSTEREO / MLTAMP.HPP < prev    next >
Text File  |  1995-05-01  |  2KB  |  66 lines

  1. #include "mltamp.h"
  2. #include <imcelcv.hpp>
  3. #include <immamix.hpp>
  4. #include <icslider.hpp>
  5. #include <isldahdr.hpp>
  6. #include <ictlevt.hpp>
  7. #include <istattxt.hpp>
  8.  
  9. class AmpHandler    : public ISliderArmHandler {
  10. typedef ISliderArmHandler
  11.   Inherited;
  12. //**************************************************************************
  13. // Class:   AmpHandler                                                     *
  14. //                                                                         *
  15. // Purpose: Provide a Handler for processing the sliders on the Amp.       *
  16. //          It is a subclass of ISliderArmHandler                          *
  17. //                                                                         *
  18. //**************************************************************************
  19. public:
  20.  
  21.   AmpHandler ();
  22.  
  23. virtual Boolean
  24.   moving     (IControlEvent& evt);
  25. };
  26.  
  27.  
  28. class Amp    : public IMultiCellCanvas {
  29. //**************************************************************************
  30. // Class:   Amp                                                            *
  31. //                                                                         *
  32. // Purpose: Provide a Amp for use by all of the devices.                   *
  33. //          It is a subclass of IMultiCell                                 *
  34. //                                                                         *
  35. //**************************************************************************
  36. public:
  37.  
  38.   Amp(IMMAmpMixer*      pAmp1,
  39.       IMMAmpMixer*      pAmp2,
  40.       IMMAmpMixer*      pAmp3,
  41.       unsigned long     windowid,
  42.       IWindow*          parent,
  43.       IWindow*          owner);
  44.  
  45. ICircularSlider
  46.   slVolume,
  47.   slBalance,
  48.   slBass,
  49.   slTreble,
  50.   slPitch,
  51.   slGain;
  52.  
  53.  
  54. IMMAmpMixer
  55.   *pAmpMixer1,
  56.   *pAmpMixer2,
  57.   *pAmpMixer3;
  58.  
  59. AmpHandler
  60.   ampHandler;
  61.  
  62. IStaticText
  63.   name;
  64. };
  65.  
  66.