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.
18 lines
520 B
C
18 lines
520 B
C
7 months ago
|
#pragma once
|
||
|
#include "mousetool.h"
|
||
|
class CMouseToolMove :public CMouseTool
|
||
|
{
|
||
|
public:
|
||
|
CMouseToolMove(void);
|
||
|
~CMouseToolMove(void);
|
||
|
virtual void OperateObj(Dbxy StartPt,Dbxy EndPt);
|
||
|
virtual void OnLButtonUp(UINT nFlags, CPoint point,CClientDC &dc);
|
||
|
virtual void OnMouseMove(UINT nFlags, CPoint point,CClientDC &dc);
|
||
|
virtual void OnLButtonDown(UINT nFlags, CPoint point,CClientDC &dc);
|
||
|
virtual bool NeedToPointTool(){return true;};
|
||
|
private:
|
||
|
double m_MoveDisX;
|
||
|
double m_MoveDisY;
|
||
|
};
|
||
|
|