blob: 49ff354e201fdf64749aaab4bb5f7f3d545d2f29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/*
* help.h
*
* Turbo Vision - Version 2.0
*
* Copyright (c) 1994 by Borland International
* All Rights Reserved.
*
* Modified by Sergio Sigala <ssigala@globalnet.it>
* Modified by Salvador E. Tropea <set@ieee.org>, <set@users.sourceforge.net>
*/
#if defined(Uses_THelpWindow) && !defined(THelpWindow_Included)
#define THelpWindow_Included
// THelpViewer
class CLY_EXPORT THelpViewer : public TScroller
{
public:
THelpViewer( const TRect&, TScrollBar*, TScrollBar*, THelpFile*, ushort );
~THelpViewer();
virtual void changeBounds( const TRect& );
virtual void draw();
virtual TPalette& getPalette() const;
virtual void handleEvent( TEvent& );
void makeSelectVisible( int, TPoint&, uchar&, int& );
void switchToTopic( int );
THelpFile *hFile;
THelpTopic *topic;
int selected;
};
// THelpWindow
class CLY_EXPORT THelpWindow : public TWindow
{
static const char * helpWinTitle;
public:
THelpWindow( THelpFile*, ushort );
virtual TPalette& getPalette() const;
};
extern void notAssigned( opstream& s, int value );
extern TCrossRefHandler crossRefHandler;
#endif // Uses_THelpWindow && !THelpWindow_Included
|