www.pudn.com > glGraph.rar > Histogram.h


// Histogram.h: interface for the CHistogram class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_HISTOGRAM_H__89681B29_FB5A_4659_B592_ACFDFF522A35__INCLUDED_) 
#define AFX_HISTOGRAM_H__89681B29_FB5A_4659_B592_ACFDFF522A35__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "glGraph.h" 
 
class CHistogram : public glGraph   
{ 
public: 
	void SetHeight(); 
	void SetOrigin(float x,float y,double width,double height); 
	void Draw(); 
	CHistogram(); 
	virtual ~CHistogram(); 
 
protected: 
	float m_origin[2]; 
	int height[12]; 
}; 
 
#endif // !defined(AFX_HISTOGRAM_H__89681B29_FB5A_4659_B592_ACFDFF522A35__INCLUDED_)