⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lines.h

📁 股票控件源代码
💻 H
字号:
// Lines.h: interface for the CLines class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_LINES_H__3541544A_B390_4AA9_BF5A_702008678CA1__INCLUDED_)
#define AFX_LINES_H__3541544A_B390_4AA9_BF5A_702008678CA1__INCLUDED_

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

#include "Element.h"
#include "Line.h"
typedef CList<CLine *,CLine *&> LineList;
class CLines : public CElement  
{
public:
	CLines();
	virtual ~CLines();
public:
    LineList *m_pLineList;
	BOOL PickLines(position drag_pos,CLine *&pStartLine,CLine *&pEndLine,CDot *&PickDot);
public:
	virtual void GetRect(CDot &lefttop,CDot &rightbottom);
	//绘制图元
	virtual void      Draw(CDC *pDC,CScn *pScn);
	virtual void      Draw(CDC *pDC,CScn *pScn,transf tran);
	//移动修改图元
	virtual void      MoveModify(transf tran);
    //高亮
	virtual void      HightLight(CDC *pDC,BOOL bHightLight,CScn *pScn,long nColor);
	//选中
	virtual void      ShowSelect(CDC *pDC,BOOL bSelect,CScn *pScn,long nColor);
	virtual BOOL Pick(position&	pe,position& ret_pos,double& dist,double pick_tol,int &type,int &ext_type);
};

#endif // !defined(AFX_LINES_H__3541544A_B390_4AA9_BF5A_702008678CA1__INCLUDED_)

⌨️ 快捷键说明

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