home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / MAGNIFY / MAGNIFY.HPP < prev    next >
C/C++ Source or Header  |  1995-05-01  |  853b  |  40 lines

  1. #ifndef _MAGNIFY_
  2. #define _MAGNIFY_
  3.  
  4. #include <iapp.hpp>
  5. #include <iframe.hpp>
  6. #include <icmdhdr.hpp>
  7. #include <igbitmap.hpp>
  8. #include <igrafctx.hpp>
  9. #include <ibmpctl.hpp>
  10. #include <itimer.hpp>
  11. #include <isetcv.hpp>
  12. #include <icustbut.hpp>
  13. #include <ispinnum.hpp>
  14. #include "magnify.h"
  15.  
  16. class MagnifyHandler : public ICommandHandler
  17. {
  18. protected:
  19.   Boolean command (ICommandEvent& event);
  20. };
  21.  
  22. class MagnifyWindow : public IFrameWindow
  23. {
  24. public:
  25.   MagnifyWindow      ();
  26.   void timerFunction ();
  27.   IBitmapControl     bitmapControl;
  28.   ITimer             timer;
  29.   ISetCanvas         canvas;
  30.   ICustomButton      button;
  31.   IStaticText        xText;
  32.   INumericSpinButton xSpin;
  33.   IStaticText        yText;
  34.   INumericSpinButton ySpin;
  35.   MagnifyHandler     handler;
  36.   IGBitmap*          bitmap;
  37. };
  38.  
  39. #endif /* _MAGNIFY_ */
  40.