home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / vopengl / shapes / tglcnv.h < prev   
C/C++ Source or Header  |  1998-06-22  |  1KB  |  41 lines

  1. //    tglcnv.h:    Header for testGLCanvasPane class
  2. //=======================================================================
  3.  
  4. #ifndef testGLCNV_H
  5. #define testGLCNV_H
  6.  
  7. //#include "../vbglcnv.h"
  8. #include <v/vbglcnv.h>
  9.  
  10.     class testGLCanvasPane : public vBaseGLCanvasPane
  11.       {
  12.       public:        //---------------------------------------- public
  13.     testGLCanvasPane();
  14.     virtual ~testGLCanvasPane();
  15.  
  16.     virtual void graphicsInit(void);
  17.  
  18.     void Spin();
  19.  
  20.     // Scrolling
  21.     virtual void HPage(int, int);
  22.     virtual void VPage(int, int);
  23.  
  24.     virtual void HScroll(int);
  25.     virtual void VScroll(int);
  26.  
  27.     // Events
  28.     virtual void MouseDown(int, int, int);
  29.     virtual void MouseUp(int, int, int);
  30.     virtual void MouseMove(int, int, int);
  31.  
  32.     virtual void Redraw(int, int, int, int); // Expose/redraw event
  33.     virtual void Resize(int, int);        // Resize event
  34.  
  35.       protected:    //--------------------------------------- protected
  36.  
  37.       private:        //--------------------------------------- private
  38.     int _what;
  39.       };
  40. #endif
  41.