Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
46 lignes
1.1 KiB
46 lignes
1.1 KiB
//
|
|
// C++ Interface: cbookdisplay
|
|
//
|
|
// Description:
|
|
//
|
|
//
|
|
// Author: The BibleTime team <info@bibletime.info>, (C) 2004
|
|
//
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
//
|
|
//
|
|
#ifndef RENDERINGCBOOKDISPLAY_H
|
|
#define RENDERINGCBOOKDISPLAY_H
|
|
|
|
#include "centrydisplay.h"
|
|
|
|
class CSwordTreeKey;
|
|
|
|
namespace Rendering {
|
|
|
|
class CTextRendering::KeyTree;
|
|
|
|
/**
|
|
* A CEntryDisplay implementation which works on tree-based GenBook modules
|
|
* of Sword.
|
|
* @short CEntryDisplay implementation for GenBook modules,
|
|
* @author The BibleTime team
|
|
*/
|
|
|
|
class CBookDisplay : public CEntryDisplay {
|
|
public: // Public methods
|
|
virtual ~CBookDisplay() {}
|
|
|
|
/**
|
|
* Returns the rendered text using the modules in the list and using the key parameter.
|
|
* The displayoptions and filter options are used, too.
|
|
*/
|
|
virtual const TQString text( const ListCSwordModuleInfo& modules, const TQString& key, const CSwordBackend::DisplayOptions displayOptions, const CSwordBackend::FilterOptions filterOptions);
|
|
|
|
protected:
|
|
void setupRenderTree(CSwordTreeKey* swordTree, CTextRendering::KeyTree* renderTree, const TQString& highlightKey);
|
|
};
|
|
};
|
|
|
|
#endif
|