Main Page   Namespace List   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_8h-source.html,v 1.7 2002/06/20 20:23:10 mgruner 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   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

Generated on Thu Jun 20 22:13:00 2002 for The Sword Project by doxygen1.2.15