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