graph.h

来自「这是一个可以检索大量数据的程序」· C头文件 代码 · 共 32 行

H
32
字号
// Graph.h: interface for the Graph class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GRAPH_H__7C5BA414_630A_448D_AC1F_290623BDC377__INCLUDED_)
#define AFX_GRAPH_H__7C5BA414_630A_448D_AC1F_290623BDC377__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define MDRAWIT 0

#define DEC_ATTRIB(type, name) \
	private: \
	type m_##name; \
	public: \
	void Set##name(type _##name) { m_##name = _##name; } \
	type Get##name() { return m_##name;}

#include "bitmapindex/dimkindex.h"	

class Graph  
{
public:
	Graph();
	virtual ~Graph();
	virtual void DrawIt(CClientDC*pDC)=0;
	virtual void DeleteNotify(long oid, bmi::Dim2Index * pIndex)=0;
};

#endif // !defined(AFX_GRAPH_H__7C5BA414_630A_448D_AC1F_290623BDC377__INCLUDED_)

⌨️ 快捷键说明

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