summaryrefslogtreecommitdiff
path: root/apps/windoze/CBuilder4/prototype/CommentPanel.h
blob: 6fa9145ccfd5dd8ce3ddd5fff82180451c4b2c1a (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
//---------------------------------------------------------------------------
#ifndef CommentPanelH
#define CommentPanelH
//---------------------------------------------------------------------------
#include <SysUtils.hpp>
#include <Controls.hpp>
#include <Classes.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
class SWDisplay;
class SWModule;
class SWMgr;



//---------------------------------------------------------------------------
class PACKAGE TCommentPanel : public TPanel
{
private:
protected:
public:
	__fastcall TCommentPanel(TComponent* Owner, SWModule *mod = 0, SWMgr *mgr = 0);
	__fastcall virtual ~TCommentPanel();
	SWDisplay *display;
	SWModule *module;
	SWMgr *mgr;
	char *font;
__published:
	TPopupMenu *menu;
	virtual void __fastcall CreateWnd();
	void __fastcall PopupMenuPopup(TObject *Sender);
	void __fastcall CopyasBGreekTransliteration1Click(TObject *Sender);
	void __fastcall Copy1Click(TObject *Sender);
	void __fastcall DictionaryLookup1Click(TObject *Sender);
	void __fastcall RTFMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
	void BuildRTFHeader(char *buf, char *font, int max);
};
//---------------------------------------------------------------------------
#endif