www.pudn.com > drawpad.zip > circletool.h
#ifndef _CIRCLETOOL_H
#define _CIRCLETOOL_H
#ifndef _PICKEVENT_H
#include "pickevent.h"
#endif
// ********************************************
// Class name: CIRCLE_TOOL
// Function: tool to process mouse events
// ********************************************
class RBD_CIRCLE;
class CIRCLE_TOOL : public MOUSE_TOOL {
protected:
CPoint m_nStart;
CPoint m_nEnd;
CView *m_pView;
RBD_CIRCLE *m_pRbdCircle;
public:
CIRCLE_TOOL();
virtual ~CIRCLE_TOOL();
virtual int ProcessEvent(int evType, const PICK_EVENT& pe);
private:
void CreateCircle();
};
#endif