Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

swdisprtfchap.h

00001 /******************************************************************************
00002  *  swdisprtfchap.h     - definition of class SWDispRTFChap, an SWDisplay used to
00003  *                              display an entire chapter in Rich Text Format
00004  *
00005  * $Id: swdisprtfchap.h-source.html,v 1.10 2001/05/25 10:44:22 jansorg Exp $
00006  *
00007  * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
00008  *      CrossWire Bible Society
00009  *      P. O. Box 2528
00010  *      Tempe, AZ  85280-2528
00011  *
00012  * This program is free software; you can redistribute it and/or modify it
00013  * under the terms of the GNU General Public License as published by the
00014  * Free Software Foundation version 2.
00015  *
00016  * This program is distributed in the hope that it will be useful, but
00017  * WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * General Public License for more details.
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

Generated at Thu May 24 19:50:26 2001 for The Sword Project by doxygen1.1.5 written by Dimitri van Heesch, © 1997-2000