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 virtual void __fastcall Loaded (void);
00047 public:
00048 __fastcall SWDispRTFChap (TComponent * Owner);
00049 __fastcall ~ SWDispRTFChap ();
00050
00051 virtual char Display (SWModule & imodule);
00052 __published:__property bool CurVersePos =
00053 {
00054 read = FCurVersePos, write = FCurVersePos, default = true};
00055 __property bool CurVerseMrk = { read = FCurVerseMrk, write =
00056 FCurVerseMrk, default = true };
00057 __property bool MarkCurrentVerse = { read = FMarkCurrentVerse, write =
00058 FMarkCurrentVerse, default = true };
00059 __property bool AutoPosition = { read = FAutoPosition, write =
00060 FAutoPosition, default = true };
00061 };
00062
00063
00064 #endif