aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/CBuilder5/prototype/TextPanel.h
blob: 61030887059332ef7c373a7bd41d9e6b08b4e6fd (plain) (blame)
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
//---------------------------------------------------------------------------
#ifndef TextPanelH
#define TextPanelH
//---------------------------------------------------------------------------
#include <SysUtils.hpp>
#include <Controls.hpp>
#include <Classes.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
class SWDisplay;
class SWModule;
//---------------------------------------------------------------------------
class PACKAGE TTextPanel : public TPanel
{
private:
protected:
public:
	__fastcall TTextPanel(TComponent* Owner, SWModule *mod = 0, char *font = 0);
	__fastcall virtual ~TTextPanel();
	SWDisplay *display;
	SWModule *module;
	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