htmltablesection.h

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

H
41
字号
/*----------------------------------------------------------------------
Copyright (c) 1998 Gipsysoft. All Rights Reserved.
Please see the file "licence.txt" for licencing details.

File:	HTMLTableSection.h
Owner:	russf@gipsysoft.com
Author: rich@woodbridgeinternalmed.com
Purpose:	A Section for displaying tables.
----------------------------------------------------------------------*/
#ifndef HTMLTABLESECTION_H
#define HTMLTABLESECTION_H

#ifndef HTMLSECTIONABC_H
	#include "HTMLSectionABC.h"
#endif	//	HTMLSECTIONABC_H

class CHTMLTableSection : public CHTMLSectionABC
{
public:
	CHTMLTableSection( CParentSection *psect, int border, COLORREF crBorderDark, COLORREF crBorderLight, bool transparent = true, COLORREF crBack = (COLORREF)0);
	virtual ~CHTMLTableSection();

	virtual void OnDraw( CDrawContext &dc );
	
	//	Fix for table background making links in the table not get any mouse input
	virtual bool IsPointInSection( const CPoint & ) const { return false; }

private:
	COLORREF	m_crBack;
	COLORREF	m_crBorderDark;
	COLORREF	m_crBorderLight;
	int			m_nBorder;
private:
	CHTMLTableSection();
	CHTMLTableSection( const CHTMLTableSection & );
	CHTMLTableSection& operator =( const CHTMLTableSection & );
};


#endif //HTMLTABLESECTION_H

⌨️ 快捷键说明

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