htmlimagesection.h

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

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

File:	HTMLImageSection.h
Owner:	russf@gipsysoft.com
Purpose:	HTML Image section.
----------------------------------------------------------------------*/
#ifndef HTMLIMAGESECTION_H
#define HTMLIMAGESECTION_H

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

class CImage;

class CHTMLImageSection : public CHTMLSectionABC
{
public:
	CHTMLImageSection( CParentSection *psect, CImage *pImage, int nBorder );
	virtual ~CHTMLImageSection();

	virtual void OnDraw( CDrawContext &dc );
	virtual void OnTimer( int nTimerID );

private:
	CImage *m_pImage;
	int			m_nBorder;
	int m_nTimerID;
	UINT  m_nFrame;

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


#endif //HTMLIMAGESECTION_H

⌨️ 快捷键说明

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