30 lines
637 B
C++
30 lines
637 B
C++
#pragma once
|
|
|
|
class TSymbEdJigEx : public AcEdJig
|
|
{
|
|
protected:
|
|
int GetRetCode(int nRetCode, int *kewyIdx=NULL) const;
|
|
protected:
|
|
//ÊäÈë
|
|
XString m_sPrompt; //ÌáʾÐÅÏ¢
|
|
XString m_sKeyword;
|
|
|
|
XPoint m_ptResult;
|
|
public:
|
|
TSymbEdJigEx() {}
|
|
virtual int DoIt(int *pKeyIndex=NULL);
|
|
virtual DragStatus GetPoint(XPoint &pt);
|
|
virtual BOOL IsPosChanged(XPoint ptNew) const;
|
|
virtual DragStatus sampler();
|
|
|
|
public:
|
|
void SetPrompt(const TCHAR *s) {
|
|
m_sPrompt=s;
|
|
}
|
|
void SetKeyword(const TCHAR *k) {
|
|
m_sKeyword=k;
|
|
}
|
|
XPoint GetPickPoint() const {
|
|
return m_ptResult;
|
|
}
|
|
}; |