00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef swdisprtfchapH
00025 #define swdisprtfchapH
00026
00027 #include <vcl\SysUtils.hpp>
00028 #include <vcl\Controls.hpp>
00029 #include <vcl\Classes.hpp>
00030 #include <vcl\Forms.hpp>
00031 #include <vcl\ComCtrls.hpp>
00032 #include <vcl\StdCtrls.hpp>
00033 #include <swtext.h>
00034 #include <swdisprtf.h>
00035
00036
00037 class SWDispRTFChap:public SWDispRTF
00038 {
00039 protected:
00040
00041 bool FCurVerseMrk;
00042 bool FCurVersePos;
00043 bool FMarkCurrentVerse;
00044 bool FAutoPosition;
00045
00046 char platformID;
00047
00048 virtual void __fastcall Loaded (void);
00049 public:
00050 __fastcall SWDispRTFChap (TComponent * Owner);
00051 __fastcall ~ SWDispRTFChap ();
00052
00053 virtual char Display (SWModule & imodule);
00054 __published:__property bool CurVersePos =
00055 {
00056 read = FCurVersePos, write = FCurVersePos, default = true};
00057 __property bool CurVerseMrk = { read = FCurVerseMrk, write =
00058 FCurVerseMrk, default = true };
00059 __property bool MarkCurrentVerse = { read = FMarkCurrentVerse, write =
00060 FMarkCurrentVerse, default = true };
00061 __property bool AutoPosition = { read = FAutoPosition, write =
00062 FAutoPosition, default = true };
00063 };
00064
00065
00066 #endif