MainFrm.h
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:1k
- //---------------------------------------------------------------------------
- #ifndef MainFrmH
- #define MainFrmH
- //---------------------------------------------------------------------------
- #include <vclClasses.hpp>
- #include <vclControls.hpp>
- #include <vclStdCtrls.hpp>
- #include <vclForms.hpp>
- #include "RichView.hpp"
- #include "RVScroll.hpp"
- #include "RVStyle.hpp"
- //---------------------------------------------------------------------------
- class TfrmMain : public TForm
- {
- __published: // IDE-managed Components
- TRichView *rv;
- TRichView *rvTop;
- TRVStyle *rvs;
- TRVStyle *rvsForDemos;
- TImageList *il;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall rvRVMouseMove(TObject *Sender, int id);
- void __fastcall rvJump(TObject *Sender, int id);
- private: // User declarations
- public: // User declarations
- __fastcall TfrmMain(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- // Constants for text styles, rvsForDemos->TextStyles
- #define sncomNormal 0
- #define sncomHeading 1
- #define sncomKeyword 2
- #define sncomMarked 3
- //---------------------------------------------------------------------------
- extern TfrmMain *frmMain;
- //---------------------------------------------------------------------------
- #endif