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.
35 lines
984 B
C++
35 lines
984 B
C++
#pragma once
|
|
#include <DrawModel/Curve.h>
|
|
#include "itemcurveedit.h"
|
|
#include ".\itemfocusrect.h"
|
|
|
|
|
|
namespace NItem
|
|
{
|
|
class CItemCurveEditDeleteMulNodes :
|
|
public CItemCurveEdit
|
|
{
|
|
public:
|
|
CItemCurveEditDeleteMulNodes(CSigmaDoc * ppDoc, CPositionList & selectionCache, BOOL bPopupToolbar=TRUE);
|
|
virtual ~CItemCurveEditDeleteMulNodes(void);
|
|
|
|
void OnLButtonDblClk(UINT nFlags, CPoint point) override;
|
|
void OnLButtonDown(CDC *pDC, UINT nFlags, CPoint point, int vk) override;
|
|
int OnMouseMove(CDC *pDC, UINT nFlags, CPoint point) override;
|
|
void OnLButtonUp(CDC *pDC, UINT nFlags, CPoint point, int vk) override;
|
|
BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) override;
|
|
virtual void DoLButtonUp(void);
|
|
|
|
void EnableMulDelete(BOOL bMulDelete);
|
|
BOOL IsMulDelete(void);
|
|
//virtual POSITION GetPos(void);
|
|
//void EreaseHandleNodes(CDC * pDC);
|
|
protected:
|
|
BOOL m_bDeleteMulNodes;
|
|
//CPositionList m_selectionCache;
|
|
CItemFocusRect* m_pFocusRect;
|
|
bool m_bBeginSelect;
|
|
};
|
|
|
|
};
|