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.
|
|
|
|
#pragma once
|
|
|
|
|
#include "mousetool.h"
|
|
|
|
|
|
|
|
|
|
//ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƶ<EFBFBD>
|
|
|
|
|
class CMouseToolMove2 :public CMouseTool
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CMouseToolMove2(void);
|
|
|
|
|
~CMouseToolMove2(void);
|
|
|
|
|
virtual void OnLButtonDown(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OnLButtonUp(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OnMouseMove(UINT nFlags, CPoint point,CClientDC &dc);
|
|
|
|
|
virtual void OperateOver();
|
|
|
|
|
virtual bool OnSetCmd(CString str);
|
|
|
|
|
virtual bool NeedToPointTool(){return true;};
|
|
|
|
|
private:
|
|
|
|
|
double m_MoveDisX;
|
|
|
|
|
double m_MoveDisY;
|
|
|
|
|
};
|
|
|
|
|
|