//--------------------------------------------------------------------------- #ifndef TextPanelH #define TextPanelH //--------------------------------------------------------------------------- #include #include #include #include #include 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