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.

31 lines
735 B
C

1 month ago
#pragma once
#include "itemselectelement.h"
namespace NItem
{
class CItemSelectCurve :public CItemSelectElement
{
public:
CItemSelectCurve(CSigmaDoc * ppDoc);
virtual ~CItemSelectCurve(void);
virtual void DrawSelectItem(SELECT_ITEM& item);
virtual void DrawSelectItem(POSITION pos);
virtual BOOL IsSelectItem(POSITION pos);
void Draw(CXyDC* pDC, CCurveEx* pCurve, COLORREF color);
CCurveEx* GetRangeCurve(POSITION pos, BOOL& bDeleteCurve);
void EnableDrawSelectPoint(BOOL bEnable);
BOOL m_bDrawSelectPoint; //<2F><>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>
//<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void EnableSelectOtherType(BOOL bEnable);
void AddOtherType(int type);
BOOL IsOtherType(POSITION pos);
BOOL m_bEnableOtherType;
CArray<int, int> m_arrOtherType;
};
};