diff options
Diffstat (limited to 'rhtvision/examples/demo/mousedlg.h')
-rw-r--r-- | rhtvision/examples/demo/mousedlg.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/rhtvision/examples/demo/mousedlg.h b/rhtvision/examples/demo/mousedlg.h new file mode 100644 index 0000000..80139a4 --- /dev/null +++ b/rhtvision/examples/demo/mousedlg.h @@ -0,0 +1,44 @@ +/*---------------------------------------------------------*/ +/* */ +/* Mousedlg.h : Header file for mousedlg.cpp */ +/* */ +/*---------------------------------------------------------*/ +/* + * Turbo Vision - Version 2.0 + * + * Copyright (c) 1994 by Borland International + * All Rights Reserved. + * + */ + +class TClickTester : public TStaticText +{ + +public: + + TClickTester(TRect& r, char *aText); + virtual TPalette& getPalette() const; + virtual void handleEvent(TEvent& event); + virtual void draw(); + +private: + + char clicked; + +}; + + +class TMouseDialog : public TDialog +{ + +public: + + TMouseDialog(); + virtual void handleEvent(TEvent& event); + +private: + + TScrollBar *mouseScrollBar; + short oldDelay; + +}; |