www.pudn.com > scrnsaverTY23.zip > Matrix.h


// Matrix.h: interface for the CMatrix class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MATRIX_H__D0AADFDC_9B54_48FA_85AD_5758C48EE7AC__INCLUDED_) 
#define AFX_MATRIX_H__D0AADFDC_9B54_48FA_85AD_5758C48EE7AC__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CMatrix   
{ 
public: 
	void DrawMatrix(CDC *pDC); 
	void EraseBackGround(CDC *pDC); 
	void DestroyMatrix(); 
	void MatrixGO(CDC *pDC); 
	CFont* GetFont(); 
	LOGFONT GetLogfont(); 
	CRect GetBorder(); 
	void LoadMatrix(HWND hWnd); 
	CMatrix(); 
	virtual ~CMatrix(); 
private: 
	int m_left, m_top, m_right, m_bottom; 
	CFont m_font; 
	int m_nCols; 
	int m_nSpeed; 
	CPtrArray m_aArray; 
	CBrush m_brBlack; 
	COLORREF m_color; 
 
}; 
 
extern CMatrix theMatrix; 
#endif // !defined(AFX_MATRIX_H__D0AADFDC_9B54_48FA_85AD_5758C48EE7AC__INCLUDED_)