home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / bcos2 / mycnv.h < prev    next >
C/C++ Source or Header  |  1998-10-16  |  950b  |  35 lines

  1. //    mycnv.h:    Header for myCanvasPane class
  2. //=======================================================================
  3.  
  4. #ifndef myCNV_H
  5. #define myCNV_H
  6.  
  7. #include <v/vcanvas.h>
  8.  
  9.     class myCanvasPane : public vCanvasPane
  10.       {
  11.       public:        //---------------------------------------- public
  12.     myCanvasPane();
  13.     virtual ~myCanvasPane();
  14.  
  15.     // Scrolling
  16.     virtual void HPage(int shown, int top);
  17.     virtual void VPage(int shown, int top);
  18.  
  19.     virtual void HScroll(int step);
  20.     virtual void VScroll(int step);
  21.  
  22.     // Events
  23.     virtual void MouseDown(int x, int y, int button);
  24.     virtual void MouseUp(int x, int y, int button);
  25.     virtual void MouseMove(int x, int y, int button);
  26.  
  27.     virtual void Redraw(int x, int y, int width, int height);
  28.     virtual void Resize(int newW, int newH);
  29.  
  30.       protected:    //--------------------------------------- protected
  31.  
  32.       private:        //--------------------------------------- private
  33.       };
  34. #endif
  35.