You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
891 B
C++
38 lines
891 B
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//文件: CItem类扩展
|
|
//主要功能:
|
|
// 操作各类元素或完成一定的功能
|
|
//
|
|
//程序编写: 2006-12-07
|
|
//
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
#include "itemBase.h"
|
|
#include "cursor.h"
|
|
#include "DrawOperator\memdc.h"
|
|
#include "ItemView.h"
|
|
|
|
namespace NDrawView
|
|
{
|
|
|
|
#define ITEM_VIEW_DEFAULT 0
|
|
#define ITEM_VIEW_PRINT 1
|
|
|
|
class CItemViewWellPole :
|
|
public CItemView
|
|
{
|
|
public:
|
|
CItemViewWellPole(void);
|
|
CItemViewWellPole(CSigmaDoc * ppDoc);
|
|
virtual ~CItemViewWellPole(void);
|
|
|
|
virtual void OnLButtonDown(CDC *pDC, UINT nFlags, CPoint point, int vk) override;
|
|
virtual void OnLButtonUp(CDC *pDC, UINT nFlags, CPoint point, int vk) override;
|
|
virtual int OnMouseMove(CDC *pDC, UINT nFlags, CPoint point) override;
|
|
|
|
void MouseMovePanWell(CPoint point); //ggff
|
|
};
|
|
|
|
}; |