⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htmlparagraph.h

📁 hl2 source code. Do not use it illegal.
💻 H
字号:
/*----------------------------------------------------------------------
Copyright (c) 1998,1999 Gipsysoft. All Rights Reserved.
Please see the file "licence.txt" for licencing details.
File:	HTMLParagraph.h
Owner:	russf@gipsysoft.com
Purpose:	<Description of module>.
----------------------------------------------------------------------*/
#ifndef HTMLPARAGRAPH_H
#define HTMLPARAGRAPH_H

class CHTMLParagraph : public CHTMLDocumentObject				//	para
//
//	Paragraph.
//	Contains a list of images, text blocks, links and link targets.
{
public:
	CHTMLParagraph( int nSpaceAbove, int nSpaceBelow, CHTMLParse::Align alg );
	~CHTMLParagraph();

	void AddItem( CHTMLParagraphObject *pItem );
	bool IsEmpty() const;
	void Reset( int nSpaceAbove, int nSpaceBelow, CHTMLParse::Align alg );

#ifdef _DEBUG
	virtual void Dump() const;
#endif	//	_DEBUG

	void ResetMeasuringKludge();

	int m_nSpaceAbove, m_nSpaceBelow;
	CHTMLParse::Align m_alg;

	ArrayClass<CHTMLParagraphObject*> m_arrItems;

private:
	CHTMLParagraph();
	CHTMLParagraph( const CHTMLParagraph &);
	CHTMLParagraph& operator =( const CHTMLParagraph &);
};


#endif //HTMLPARAGRAPH_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -