htmlparagraph.h

来自「hl2 source code. Do not use it illegal.」· C头文件 代码 · 共 42 行

H
42
字号
/*----------------------------------------------------------------------
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 + =
减小字号Ctrl + -
显示快捷键?