htmltextblock.h

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

H
34
字号
/*----------------------------------------------------------------------
Copyright (c) 1998,1999 Gipsysoft. All Rights Reserved.
Please see the file "licence.txt" for licencing details.
File:	HTMLTextBlock.h
Owner:	russf@gipsysoft.com
Purpose:	<Description of module>.
----------------------------------------------------------------------*/
#ifndef HTMLTEXTBLOCK_H
#define HTMLTEXTBLOCK_H

class CHTMLTextBlock : public CHTMLParagraphObject			//txt
//
//	Text block.
//	Has some text.
{
public:
	CHTMLTextBlock( const CTextABC &strText, UINT uFontDefIndex, COLORREF crFore, bool bPreformatted );

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

	StringClass m_strText;
	UINT m_uFontDefIndex;
	COLORREF m_crFore;
	bool m_bPreformatted;

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

#endif //HTMLTEXTBLOCK_H

⌨️ 快捷键说明

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