functionline.h

来自「一个简单的画图程序 可以画点线面等」· C头文件 代码 · 共 32 行

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

#if !defined(AFX_FUNCTIONLINE_H__3EC7142D_B52F_4653_B768_C3A3BF7874FF__INCLUDED_)
#define AFX_FUNCTIONLINE_H__3EC7142D_B52F_4653_B768_C3A3BF7874FF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Function.h"
#include "MainFrm.h"
#include "SmallCAD203Doc.h" 
#include "SmallCAD203View.h" 
#include "GraphLine.h"
class CFunctionLine : public CFunction  
{
public:
	CFunctionLine();
	virtual ~CFunctionLine();
	virtual void OnLButtonDown(UINT nFlags, CPoint point);
	virtual void OnLButtonUp(UINT nFlags, CPoint point);
	virtual void OnMouseMove(UINT nFlags, CPoint point);

protected:
	CGraphLine * l;
	BOOL m_bIsLButtonDown;
};

#endif // !defined(AFX_FUNCTIONLINE_H__3EC7142D_B52F_4653_B768_C3A3BF7874FF__INCLUDED_)

⌨️ 快捷键说明

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