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 >
Wrap
C/C++ Source or Header
|
1998-10-16
|
950b
|
35 lines
// mycnv.h: Header for myCanvasPane class
//=======================================================================
#ifndef myCNV_H
#define myCNV_H
#include <v/vcanvas.h>
class myCanvasPane : public vCanvasPane
{
public: //---------------------------------------- public
myCanvasPane();
virtual ~myCanvasPane();
// Scrolling
virtual void HPage(int shown, int top);
virtual void VPage(int shown, int top);
virtual void HScroll(int step);
virtual void VScroll(int step);
// Events
virtual void MouseDown(int x, int y, int button);
virtual void MouseUp(int x, int y, int button);
virtual void MouseMove(int x, int y, int button);
virtual void Redraw(int x, int y, int width, int height);
virtual void Resize(int newW, int newH);
protected: //--------------------------------------- protected
private: //--------------------------------------- private
};
#endif